Storage requirements of tree transforms

Aaron Bentley aaron.bentley at utoronto.ca
Tue Jan 17 14:04:23 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Denys Duchier wrote:
> Aaron Bentley <aaron.bentley at utoronto.ca> writes:
> 
> 
>>| I don't think that was very reasonable: content may be extremely large.
>>
>>I didn't mean that the iterators AND the new file contents would be held
>>in memory. Just the iterators, which would hopefully be
>>non-memory-hogging objects, like file objects, and not like StringIOs.
> 
> 
> but that's even less workable because of the limitation on the number of open
> filedescriptors per process (like 1024, which is far from sufficient for the
> linux tree).

Hmm.  You know, I'd forgotten the option of simply holding the file
descriptor open.  Though of course, that doesn't work due to maxxing out
descriptor limits.  But it is easy to create iterators that don't take
up unnecesary resources.  That's half the point of iterators, really.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDzPln0F+nu1YWqI0RAgCDAJ9yHRGfus76az8b0UPmPILSP8O5IACeIaCs
HRM9EV96PqZL+RVCmQjwbpc=
=shHj
-----END PGP SIGNATURE-----




More information about the bazaar mailing list