Darudmand (A N)
- Login: Darudmand
- Email: email@example.com
- Registered on: 09/11/2014
- Last connection: 09/22/2014
- 06:31 AM Ruby master Feature #10227 (Closed): array.include? is much slower than array.index
- I benchmarked both, and found that `include?` is about ten times slower than `index` (for the test below).
Also available in: Atom