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 |
|---|---|
| ✓ Intl.collator O(N*M) | 11,619 Ops/sec |
| native String.prototype.includes O(N+M) | 5,116 Ops/sec |