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

Use MapEntry for key/record pairs #6

Open
greglook opened this issue Oct 19, 2017 · 0 comments
Open

Use MapEntry for key/record pairs #6

greglook opened this issue Oct 19, 2017 · 0 comments

Comments

@greglook
Copy link
Owner

As an optimization, instead of returning two-element vector tuples for each [key data] record, use clojure.lang.MapEntry instead. This would probably lead to both memory and speed improvements, since we'd no longer be paying the overhead for an expandable vector.

@greglook greglook changed the title Consider using MapEntry Use MapEntry for key/record pairs Jan 25, 2018
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