Closed rstacruz closed 8 years ago
You should be able to store any value, including other hash tables and null, within the map. Is there a specific issue you are running into?
nothing in particular, i just wanted to see if i can use it to manage a big nested structure without having to nest hashes (or nest hamt objects?) :)
Glad to hear that. Just one thing to consider is that for very small objects, immutability by copying JavaScript objects will be quicker than using a full immutable data structure. Try profiling the expected work load to see which is more appropriate.
Is it possible to represent this data structure as a HAMT tree?