Open jimjkelly opened 11 years ago
On Sat, May 18, 2013 at 02:15:31PM -0700, Jim Kelly wrote:
is there currently support for prompting garbage collection? I'm not seeing anything poking through the docs and the source. If not, could you consider this a feature request? What do you mean with "prompting garbage collection" ? Having .close methods on objects?
Cheers,
Jelmer
The equivalent of 'git gc' on the repo.
Ah, of course. My first thought was of Python GC for some reason, hence my confusion. :-)
There is indeed no support for Git GC at the moment; it'd be great if we can add it. PackObjectStore would be the location for such support.
After I hit send on my original comment, I thought, "I wonder if my comment will be mistaken for garbage collection in python. :) Sorry, I should have been more clear. I'm currently evaluating using git for a project (where garbage collection will be important). If I end up using it maybe I can whip something up and submit a pull request.
Discussion https://github.com/jelmer/dulwich/discussions/1324 is relevant to this 🙂
There is indeed no support for Git GC at the moment; it'd be great if we can add it. PackObjectStore would be the location for such support.
Given how complicated proper GC likely is, it might make sense as a separate module, in my opinion.
is there currently support for prompting garbage collection? I'm not seeing anything poking through the docs and the source. If not, could you consider this a feature request?
thanks so much for a great library!