Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393
Chrome 51
Windows
Other
6 years ago
Test name Executions per second
original duplicate removal 167509.2 Ops/sec
2-pass approach 254184.1 Ops/sec
Tests:
  • original duplicate removal

  • 2-pass approach