ultra icon indicating copy to clipboard operation
ultra copied to clipboard

Try optimizing fitness functions

Open iKevinY opened this issue 4 years ago • 0 comments

This might be faster as an explicit loop where the outgoing character is modulo'd off the accumulated index, the index is multiplied by 26, then the incoming character is added in.

https://github.com/iKevinY/ultra/blob/5ac5ef0e0dacf199f22c6c2248467ccc6e631589/src/fitness.rs#L66-L69

iKevinY avatar Oct 19 '21 17:10 iKevinY