http://qs321.pair.com?node_id=162318


in reply to Re: Need a test for deep equality
in thread Need a test for deep equality

maybe that would be just a small patch to Data::Dumper.

Perhaps, but somehow I doubt it'll happen. First off you would have to do it twice, once in C and once in perl. Second off Data::Dumper is optimized for speed and the overhead of sorting, especially a tied structure, could get prohibitive. OTOH Data::BFDump does sort its keys, and IIRC so does Data::Dump.

Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.