3 ms·
Don't do a microbenchmark, test the entire application under expected usage with and without the LUT. If it's supposed to tolerate a DoS, test that as well. A L
by fluoridation 3y ago
Don't do a microbenchmark, test the entire application under expected usage with and without the LUT. If it's supposed to tolerate a DoS, test that as well. A LUT is a drop-in replacement; there's no need to rely on some synthetic benchmark that may not be representative when you can test on the real thing.
- Brian_K_White 3y agoYou can even have the code detect a usage/abusage pattern and switch implementations on the fly.