Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
util,assert: improve performance
This adds a smarter logic to compare object keys and it also skips
the object key comparison for arrays, if possible.

Besides that it adds a fast path for empty objects and arrays.

It also adds a fast path for boxed strings and improves the
comparison performance for TypedArrays with extra keys on the object.

On top of that a few functions are now safer to call by using
uncurryThis and by caching the actual function.
  • Loading branch information
BridgeAR committed Aug 3, 2018
commit 211b086427124fe1135f2498af1fa4c0fecc09c1
Loading