5 ms·
> and replacing them with just straight up floating point calculation Not only that, the diff replaces 100-150 lines of code with 3. That's the kind of pull re
by celegans25 3y ago
> and replacing them with just straight up floating point calculation
Not only that, the diff replaces 100-150 lines of code with 3. That's the kind of pull request I can only dream of making
- mwkaufma 3y agoHardcoding gamma=2 is doing the heavy lifting, though.
- olddustytrail 3y agoGamma always equals 2, so it's a natural optimization. Assuming of course you are 0 indexing the alphabet.