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

Rewrite juxt to be allocate less garbage and reuse objects #3

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

alexander-yakushev
Copy link
Member

This version of juxt uses mutable arrays instead of vectors for intermediate state.

Also introduce juxt* that takes a sequence instead of varargs since this is used in this way much more often (Metabase is filled with apply juxt calls).

@alexander-yakushev alexander-yakushev requested a review from a team as a code owner August 29, 2024 16:29
@alexander-yakushev alexander-yakushev force-pushed the juxt branch 2 times, most recently from 4a3b973 to 637b92e Compare August 29, 2024 16:43
@camsaul camsaul merged commit 4a37fea into master Aug 29, 2024
5 checks passed
@camsaul camsaul deleted the juxt branch August 29, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants