[Python-Dev] Deferred, coalescing, and other very recent reference counting optimization
In CPython we have reference counting. My question is can we optimize current RC using strategies like Deferred RC and Coalescing? If no then where would I face problems if I try to implement these sorts of strategies? These strategies all depend on the concept that we don't need the exact value of reference count all the time. So far in my observation, we only need exact value before running a cycle collector. If we can manage to make sure that we have exact value before entering the cycle collector then in my opinion we can add these optimizations strategies to some extent. Is there something that I am missing? Or It is quite possible? If not possible please tell me the factors I should consider. Thanks in advance. ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/YOQGF2QSOJSRPOJIYLJMMT72E6OTVLQP/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-Dev] Re: Deferred, coalescing, and other very recent reference counting optimization
Before experimenting can't I ask someone whether relevant experiments were made or not? if I am not supposed to do that then I totally agree with you, sir. I tried asking in python-ideas and one of the replies was "I gather there have been some experiments along these lines as part of efforts to remove the GIL. You might like to research them to find out how much success they've had." What I can interpret from this reply is there are some experiments regarding this topic but I don't know where they are. Then I asked him where could I find them but didn't get any answer to that. Then how have I got my answers? I am so sorry if I am asking any inappropriate question here. ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/2IC27QRCFB6CSVMMYR3NTVU34TI5J6XN/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-Dev] Re: Deferred, coalescing, and other very recent reference counting optimization
Thank you sir for directing me to Gilectomy. I will definitely take a look and that and try to design my own experimentations. I definitely could have asked for direction in a better way. I could have asked in a better approach. Thanks for pointing that out as well. ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/BF37I56A4C2ZJQYSPFPQYXHBDYA3HUDE/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-Dev] Re: Deferred, coalescing, and other very recent reference counting optimization
Thank you, sir. Guido already mentioned it so I was going to search google about it. Thanks for your direct link as well. I really appreciate it. I will surely look into that. :) ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/G4GZKEP2REHERMZPEWVMHZXW45TUTES2/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-Dev] Re: Deferred, coalescing, and other very recent reference counting optimization
Sorry, Eric. V. Smith. I don't know how to quote someone like everyone is doing. I am new to mailman . I am working on it though. Thanks. ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/AMFQHCOBDBDA2AXSDUHXV5PYEW4HFSJX/ Code of Conduct: http://python.org/psf/codeofconduct/
[Python-Dev] Re: Deferred, coalescing, and other very recent reference counting optimization
Thank you Larry Hastings for your wonderful detailed answer. Just the answer I was looking for. I am trying to work on memory management in python. CPython reference counting is very hard to modify. Before I start implementing something I just wanted to know whether anybody has tried similar things before and wanted to know their experience on this just so I don't end up implementing something which already was tried before me. Now that I know your thoughts on this. It would be helpful for me to find my way and decide where to put effort. I am so grateful for your answer. Thank you, sir. I apologize again if my way of asking was rude. ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/IF6GSRYRNVMYVYARUHBVWGWENAGWKXSI/ Code of Conduct: http://python.org/psf/codeofconduct/