Today, when reserving the objectEqual function in this library while evaluating deep.equal call stacks in a chai test harness, I observed that when comparing objectEqual() from the default branch in extensiveDeepEqualByType) it sorts the keys.
Is it not more performant for large objects to just iterate over unsorted properties with something like hasOwnProperty on the rightHandProperty properties? If so, I can make a PR.
Today, when reserving the
objectEqualfunction in this library while evaluatingdeep.equalcall stacks in a chai test harness, I observed that when comparingobjectEqual()from thedefaultbranch inextensiveDeepEqualByType)it sorts the keys.deep-eql/index.js
Line 418 in 04d6da6
deep-eql/index.js
Line 419 in 04d6da6
Is it not more performant for large objects to just iterate over unsorted properties with something like
hasOwnPropertyon therightHandPropertyproperties? If so, I can make a PR.