Блог пользователя yoshi_avx

Автор yoshi_avx, история, 5 недель назад, По-английски

Preparing a lookup table in binary GCD can be somewhat effective if the inputs are small. I've seen a 30% time reduction with a 512x512 table (which consumes almost no memory and time) for inputs less than $$$2\times10^9$$$. It scales quite linearly with the log.

Code
  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

»
5 недель назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Both I and the CPU would like it...