Hello, All.

I played a little with hash calculation code from lock manager and found that there is a room for improvement. Attached test program compiled by GCC 4.7.1 with switches "-O3 -msse4.2" shown that simple unroll of the loop makes it 2-3 times faster. Current code is even slower than CPU-accelerated CRC32.
  Comments?

--
  WBR, SD.

Attachment: HashTest.cpp.7z
Description: Binary data

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to