Re: prefixes and namespaces?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu