More perf improvement
Add compare object handler (rather than going through do_operation)