Closed rtobar closed 4 years ago
Whoa, this seems pretty important!
@rtobar @isagalaev As you can see from the comment above, people still end up on this repo from Google/Stackoverflow, assuming that this is the official source. The same happened to me, and it took me a while as well to realize that the active fork is https://github.com/ICRAR/ijson .
Would it perhaps be possible to
I don't know how to transfer open issues, but I could probably close them with a note that it could be reopened against the new fork. Will that work?
Sounds good, thanks! I realize now that transferring issues is anyhow only possible between repos of the same organisation account.
P.S. Here is the link on how to archive a repository.
Done closing the issues. Archiving the repo now. Thanks for prompting me to finally do it!
The builder.containers list creates circular references between itself and the ObjectBuilder object that contains it. This means that garbage collection is taking care of disposing of these self-referencing objects from time to time. If no GC is enabled (e.g., when using timeit.timeit, or because intentionally turned off) these objects build up in memory, defeating the purpose of the items generator and those under it. By explicitly clearing up the builder's list before the builder gets out of scope we solve this.
To reproduce try:
and see your memory usage grow.