Show More
@@ -343,7 +343,7 b' class dirstatemap(_dirstatemapcommon):' | |||||
343 | return |
|
343 | return | |
344 |
|
344 | |||
345 | # TODO: adjust this estimate for dirstate-v2 |
|
345 | # TODO: adjust this estimate for dirstate-v2 | |
346 |
if util.safehasattr(parsers, |
|
346 | if util.safehasattr(parsers, 'dict_new_presized'): | |
347 | # Make an estimate of the number of files in the dirstate based on |
|
347 | # Make an estimate of the number of files in the dirstate based on | |
348 | # its size. This trades wasting some memory for avoiding costly |
|
348 | # its size. This trades wasting some memory for avoiding costly | |
349 | # resizes. Each entry have a prefix of 17 bytes followed by one or |
|
349 | # resizes. Each entry have a prefix of 17 bytes followed by one or |
General Comments 0
You need to be logged in to leave comments.
Login now