[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 10629)
Jason J. Hickey
jyh at cs.caltech.edu
Thu May 3 20:05:13 PDT 2007
Hmmm, the reason why I wasn't seeing collisions was because I
wasn't using ocamldep -modules. Here are the actual stats.
Hash statistics:
Node: reintern = 1868, compare = 1664094, collisions = 28543
DirList: reintern = 0, compare = 277, collisions = 0
Dir: reintern = 817, compare = 903508, collisions = 0
Symbol: reintern = 588, compare = 737854, collisions = 0
Although I stated I was cracked, I take it back:(
The problem is that two nodes with the same "coarse" name will in
general not be pointer-equal. Thus, hash-consing does no good.
We have to hash-cons the coarse version completely separately.
----
Changes:
+5 -5 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-05.html#07/05/03.20:05:13
More information about the OMake-CVS
mailing list