pawelniewie (Pawel Niewiadomski)
- Login: pawelniewie
- Registered on: 03/19/2017
- Last sign in: 10/12/2017
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
03/19/2017
-
11:20 AM Ruby Bug #13330: Array.include? is slow for symbols
- Created PR with a fix https://github.com/ruby/ruby/pull/1540
-
11:19 AM Ruby Bug #13330 (Closed): Array.include? is slow for symbols
- Looking at the code I noticed that [:test].include?(:test) goes through a general path instead using an optimised version making searching slower than for strings:
Benchmark available at https://github.com/pawelniewie/benchmark-set-ar...