top | item 39309609

(no title)

celegans25 | 2 years 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

discuss

order

mwkaufma|2 years ago

Hardcoding gamma=2 is doing the heavy lifting, though.

olddustytrail|2 years ago

Gamma always equals 2, so it's a natural optimization. Assuming of course you are 0 indexing the alphabet.