Re: Nested Sequence Hash Bug
- Posted by jimcbrown (admin) Jan 05, 2015
- 1144 views
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
This is why it's important to file tickets.... looking at the SCM log, it appears that the first issue (from 2011) was never fixed. http://scm.openeuphoria.org/hg/euphoria/log/ab99e8bb362e/source/be_runtime.c?revcount=120