Mindaugas Pelionis

Results 4 comments of Mindaugas Pelionis

DO NOT MERGE YET. Just noticed that `#values_at` and `#slice#values` return different results when Hash members are missing 🤦‍♂️ Will update the code and the benchmark, and see if it's...

@Arcovion, cool! Will add it to the benchmark, too. Thanks!

Added more ways of slicing Hash values, and organized them into three separate cases: * when all keys are expected to exist in the Hash (`Hash#values_at`); * when some keys...

@etagwerker, thanks for the feedback! You're right, the other benchmarks are really just edge cases, and don't contribute much. And `Hash#values_at` is the best performing in them anyway. I've removed...