[Omake] What comes after cons-hash?
Aleksey Nogin
anogin at hrl.com
Tue Mar 20 17:22:12 PDT 2007
Jason,
I think I am now fairly comfortable with the cons-hash patch and ready
to move on. What do you want the next step(s) to be? Trying to figure
out case insensitive filesystems?
Aleksey
On 20.03.2007 17:06, Aleksey Nogin wrote:
> 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
>
> _______________________________________________
> OMake-CVS mailing list
> OMake-CVS at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake-cvs
>
--
Aleksey Nogin, Research Staff Member
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA
More information about the OMake-Devel
mailing list