one call for the fastest version?

57 views
Skip to first unread message

bobjen...@gmail.com

unread,
Feb 14, 2014, 4:34:01 PM2/14/14
to cityhash...@googlegroups.com
Going from memory here ... I timed CityHash128 and CityHash256, and 128 was faster for strings under 1000 bytes, but 256 was faster for longer strings.  Could you add an interface that looks at the length of the string, and calls the fastest variant of CityHash for that length?
Reply all
Reply to author
Forward
0 new messages