in reply to Re^3: Fastest way to "pick without replacement"
in thread Fastest way to "pick without replacement"
Anyway in my experience you are doing micro-optimization here
This was mostly to satisfy my curiosity and perhaps provide an interesting challenge, I'm not really optimizing anything - I always had a gut feeling that splice might be kind of slow (and it probably still is on very large arrays), so it's nice to see that in this test it's actually quite the opposite.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Fastest way to "pick without replacement"
by LanX (Saint) on Nov 22, 2020 at 21:54 UTC |