benjamn / immutable-tuple

Immutable finite list objects with constant-time equality testing (===) and no memory leaks.
https://benjamn.github.io/immutable-tuple
MIT License
36 stars 4 forks source link

Expose Universal WeakMap #6

Open dy opened 5 years ago

dy commented 5 years ago

Hi! UniversalWeakMap can be useful on its own, a good replacement for primitive-pool. Can that possibly be exported as a separate entry?

import { UniversalWeakMap } from 'immutable-tuple'
dy commented 5 years ago

@benjamn any thoughts?

fregante commented 3 years ago

Ideally it should be its own module. I've been wanting to publish my own and I was surprise to see it in your code.