Hacker News
new
past
comments
ask
show
jobs
points
by
nayuki
6 hours ago
|
comments
by
xxs
6 hours ago
|
next
[-]
That's java code, though... bit weird, esp. i % 8 (which is just i & 7). The compiler should be able to optimize it since 'i' is guaranteed to be non-negative, still awkward.
Java CRC32 nowadays uses intrinsics and avx128 for crc32.
reply
by
kevin_thibedeau
2 hours ago
|
prev
|
[-]
With C++20 you can use consteval to compute the table(s) at compile time from template parameters.
reply