[MERGE] rand_chars() optimization
John Arbash Meinel
john at arbash-meinel.com
Wed Mar 14 03:22:24 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote:
> On 3/14/07, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
>> This patch, like most optimizations, reduces legibility. So far, I
>> haven't seen any evidence that it makes any Bazaar operation observably
>> faster. So to my mind, there's no justification for including it.
>
> Yes, I'd like to see some evidence of an overall speedup. I guess the
> most likely place would be in adding many new files.
>
Not likely, because we only generate 1 random character string, and then
re-use it with a counter.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF92pwJdeBCYSNAAMRAnUaAJwJSjS6Ztz9AJGExTJ1IvNCbO0s4gCfSjaE
Dhc+8sq1UsWR7xcVMJcJ5FI=
=fcBl
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list