Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
prime number (almost prime, in fact 23x4349) - to avoid as much collisions as possible.
Why 100027?
I wasn't going for code golf here, but yes, that would work too.
you could use
alias
instead ofalias_method
here (You are not going to subclass this class I hope) :)Very nice. This code can even pass code review from Lead :)
What do you think about my solution? It doesn't need an information about salt.
Works with random salt.
not as fast as Bareiss, 'cause of float operations. can be rewritten to use lcm on columns, instead of division.
Almost Hash. But with Array, and using some field math.