These are chat archives for ramda/ramda

13th
Jan 2019
Pedr Browne
@Undistraction
Jan 13 09:40
Assuming a function with 5 arguments that will be strings, numbers, or arrays of strings and numbers, what would be the most performant function to use with memoizeWith for the hashing?
Ben Briggs
@ben-eb
Jan 13 09:47
md5 is usually a good choice for that sort of thing
Pedr Browne
@Undistraction
Jan 13 09:48
@ben-eb Thanks
Ben Briggs
@ben-eb
Jan 13 09:52
@Undistraction No worries :) Also found this but if you do go for a faster algorithm you may get more collisions depending on your inputs, it's better to use something that generates as few collisions as possible https://softwareengineering.stackexchange.com/questions/49550/which-hashing-algorithm-is-best-for-uniqueness-and-speed