dao-xyz / borsh-ts

⚡️fast TypeScript implementation of Borsh serialization format
Apache License 2.0
37 stars 2 forks source link

Add support for HashMap<T> and HashSet<T> #15

Open metaproph3t opened 1 year ago

metaproph3t commented 1 year ago

reference implementation: snippet 1, snippet 2

marcus-pousette commented 1 year ago

Good that you created an issue for this. I have postponed the for a while. Are you working on a project that requires this feature? (and you can't get away with arrays)

vantessel commented 1 year ago

+1 on HashMap, nothing that can't be done in other ways but having native support for hash maps would definitely speed up things

beautyfree commented 1 year ago

+1