performance improvements and benchmarks

Removed duplicate detection, it was too costly for its value.
Improved speed by about 30x
added contains(Handler)