Re: Nested Sequence Hash Bug
- Posted by Spock Jan 05, 2015
- 1167 views
bryanso said...
Thanks a lot. I am using map to keep these "states". Unfortunately map uses HSIEH30 by default and that's how I discovered this problem (the symptom is the hash bucket size keeps tripling very, very quickly making map:put slow at first and eventually erroring out with out of memory); amazingly at about the exact same time as you, Derek, what a coincidence!
I'll temporarily modify map.e to use another algorithm to get past this.
Also ADLER30 behaves the same.
Thanks
It's not the first time the builtin hash function had this kind of problem.
A bit disappointing that fundamentals like these in Euphoria have remained broken for so long..
Spock