24.12.2015 18:22, Dmitry Yemanov wrote: >> >Yes. But in this case the hash is only used internally and not stored >> >anywhere. Because >> >of this, different platforms can use different algorithms for it. > Of course, but then it should be encapsulated and moved to /common to > avoid the same #ifdefs used here and there. This algorithm is used twice > or thrice in our code, IIRC.
AFAICS, in other places a little different algorithm is used. It uses different sum logic and then division in loop instead of single op. BTW, does this algorithm have a name to google for? -- WBR, SD. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel