Re: prefixes and namespaces?
- Posted by Mike777 <anon4321 at gmai?.c?m> Apr 25, 2008
- 662 views
Jeremy Cowgar wrote: > > Mike777 wrote: > > > > Well, when I did my search on what to use, I came up with Hash Tables > > (htables.zip) > > from jiri babor. It is a year and a third newer than his Associative Lists, > > referenced a few messages ago. > > > > It has certainly worked for me. > > > > Yes, it works indeed. I've used it many times. The benchmark I listed > previously > was for stable (also by him), part of 3tables.zip. stable from 3table.zip > benchmarks > almost 2x as htable from htable.zip . The three benchmark results are: > > == htable: > > real 0m1.342s > user 0m1.340s > sys 0m0.000s > > == stable: > > real 0m0.885s > user 0m0.880s > sys 0m0.007s > > == map in Euphoria 4.0 (SVN trunk) > > real 0m0.266s > user 0m0.267s > sys 0m0.000s Ouch. If I understand the above, the time for your benchmark to run was more than 5 times slower using htable than map? I smell some refactoring.... Mike