I added the hash function from hashmap and changed mapping.c to use
power of two hash tables. you can get the patch from
http://laramies.com/hash.patch

I benchmarked this against pike 7.9 using pike -x benchmark and a couple
of benchmarks we wrote to test our critbit trees.
In some benchmarks (like Mapping insert) it leads to about 10%
performance increase. Others dont profit that much. I ran the benchmarks
on my atom and a core i7.
          • Bila... Mirar @ Pike developers forum
            • ... Arne Goedeke
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
              • ... Arne Goedeke
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
              • ... Arne Goedeke
              • ... Arne Goedeke
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
              • ... Arne Goedeke
              • ... Arne Goedeke
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
              • ... Arne Goedeke
              • ... Peter Bortas @ Pike developers forum
              • ... Arne Goedeke
              • ... Peter Bortas @ Pike developers forum
              • ... Mirar @ Pike developers forum
  • float hashing Martin Stjernholm, Roxen IS @ Pike developers forum

Reply via email to