Alexey Zapparov
Alexey Zapparov
I'll be happy to accept the PR. I was thinking to make fetch more composable to make it possible to easily hook into any other one.
@holstvoogd I've lost any control over this repo, so I can't change README as well. :D Please open PR in the new repo – I'll be happy to accept the...
You are testing happy path, where calling method itself is really fastest way (no surprises here). What sad man operator actually gives is that you avoid chains like `o &&...
> Maybe I should've make it more clear by adding note to readme instead of adding it to benchmark. Yeah. It's better to add that safe navigation with happy path...
:clap: :bow: Great work!
What do you mean by fair comparison? In your snippet function2 will be much much slower as you are creating Hash object every time.
@douglascamata I really can't answer this question. Benchmarking of your functions with moving one/two Hash map into a constant says that `MAPPING[param]` is 1.2x slower than case statement. If I...
There's no point in comparing bang methods VS non-bang. As `slice!` changes string in-place. Also comparing sub to slice is kinda strange. `sub` replaces substring matching regexp with the other...
I'm not quiet sure what this benchmark is trying to show off. It's obvious that `||=` doing a bit more than just `=`, but the purpose is different. What's the...