Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transient objects #51

Open
12 of 13 tasks
jeaye opened this issue Jan 12, 2024 · 0 comments
Open
12 of 13 tasks

Add transient objects #51

jeaye opened this issue Jan 12, 2024 · 0 comments

Comments

@jeaye
Copy link
Member

jeaye commented Jan 12, 2024

Reference: https://clojure.org/reference/transients

We have transient data structures, just not runtime objects.

  • transient_vector (supported by immer)
  • transient_hash_map (supported by immer)
  • transient_array_map (needs custom support)
  • transient_sorted_map (needs sorted map Add sorted maps and sets #57)
  • transient_hash_set (supported by immer)
  • transient_sorted_set (needs sorted set Add sorted maps and sets #57)

Then we need the necessary core fns.

  • transient
  • persistent!
  • assoc!
  • dissoc!
  • conj!
  • pop!
  • disj!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant