[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 10258)
Aleksey Nogin
nogin at metaprl.org
Tue Mar 20 17:06:04 PDT 2007
Further optimized the path code, finally bringing the performance close to
what it was before the hash-cons patch was applied.
The problem was that when appending an extra path (which might contain ".."
somehere inside) to a directory, it would fully reconstruct the directory and
then construct it from scratch again. In presence of cons-hashing this is
really expensive.
The obvious solution is not to deconstruct and only pop one level every time
the ".." is encountered.
----
Changes:
+29 -38 omake-branches/0.9.8.x/src/ir/omake_node.ml
A hyperlinked version of this commit is available at
http://svn.metaprl.org/commitlogs/omake/2007-03.html#07/03/20.17:06:04
More information about the OMake-CVS
mailing list