10BC0 Treat hashable objects as primitives by cooperka · Pull Request #2 · memoize-immutable/MixedTupleMap · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@cooperka
Copy link
@cooperka cooperka commented Feb 1, 2019

This allows objects with a hashCode function to be cached using their hash value rather than the object itself. This leads to major performance gains when using Immutable.js and similar (hashCode docs).

See tests for an example.

@coveralls
Copy link
coveralls commented Feb 2, 2019

Coverage Status

Co 84FC verage remained the same at 100.0% when pulling 4dd286c on cooperka:hash-non-prims into 1e1a2ba on memoize-immutable:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0