native String.prototype.includes O(N+M) vs Intl.collator O(N*M)| Test case name | Result |
|---|---|
| native String.prototype.includes O(N+M) | |
| Intl.collator O(N*M) |
| Test name | Executions per second |
|---|---|
| ✓ native String.prototype.includes O(N+M) | 3,169 Ops/sec |
| Intl.collator O(N*M) | 1,554 Ops/sec |