3 ms·
There is a table, here is the code: https://github.com/fwsGonzo/rvscript/blob/master/engine/script/util/crc32.hpp https://github.com/fwsGonzo/rvscript/blob/mas
by fwsgonzo 6y ago
There is a table, here is the code:
https://github.com/fwsGonzo/rvscript/blob/master/engine/script/util/crc32.hpp https://github.com/fwsGonzo/rvscript/blob/master/engine/scri...
- layoutIfNeeded 6y agoAh, true! I wasn’t aware that std::array was compatible with constexpr.
- sgerenser 6y agoI’ve done compile time crc32 string hashing for similar reasons with a raw array as a lookup table.