Please sign in to comment.
Handle non-unique expected values of match failuers differently
Before this commit, uniqueness was checked when addding the failure. Now we make the entiries unique when generating the error report, saving a little time when the parsing is successful. This does not increase the benchmark numbers too much though. Results of benchmark with 100 runs on V8: Before: 37.25 kB/s After: 37.41 kB/s Speedup: 0.241 % Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3
- Loading branch information...
Showing with 32 additions and 49 deletions.