-
Committer:
John Arbash Meinel
-
Date:
2007-05-04 21:04:38 UTC
-
mto:
This revision was merged to the branch mainline in
revision
2643.
-
Revision ID:
john@arbash-meinel.com-20070504210438-cvtzgzh4xbad7kww
Refactor, so that the inner _fields_to_entries function is the
doing the path comparison, and it will re-use the dirname object,
rather than copying a new string each time.
This should have equivalent performance, but have a rather large
memory savings, because we don't maintain N copies of the dirname
for N files in that directory.
It (theoretically) will speed up some comparisons, too,
because the string hash, etc, will be properly cached.