Page 1 of 1

Komodo Persistent Hash

Posted: Sat Jun 30, 2018 5:23 pm
by j_romang
I have a question about persistent hash : after saving the hash file to a file, is it ok to reload it to RAM with a different hash size (smaller or bigger) ?

Re: Komodo Persistent Hash

Posted: Sun Jul 01, 2018 12:00 pm
by mjlef
j_romang wrote:
Sat Jun 30, 2018 5:23 pm
I have a question about persistent hash : after saving the hash file to a file, is it ok to reload it to RAM with a different hash size (smaller or bigger) ?

No, both hash sizes need to be the same.

Mark

Re: Komodo Persistent Hash

Posted: Sun Jul 01, 2018 1:52 pm
by mjlef
j_romang wrote:
Sat Jun 30, 2018 5:23 pm
I have a question about persistent hash : after saving the hash file to a file, is it ok to reload it to RAM with a different hash size (smaller or bigger) ?
I should add that Komodo will give an error message if you try to load a different sized hash file than the current hash size in Komodo. Assuming your favorite GUI display engine messages, it will say "File size does not match Hash size" if you try that.

Re: Komodo Persistent Hash

Posted: Mon Jul 02, 2018 4:04 pm
by j_romang
Thanks !