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

Feature request: Add a form |apply-vector| #644

Open
adam-7 opened this issue Nov 29, 2020 · 0 comments
Open

Feature request: Add a form |apply-vector| #644

adam-7 opened this issue Nov 29, 2020 · 0 comments

Comments

@adam-7
Copy link

adam-7 commented Nov 29, 2020

Like |apply| but second argument is a vector.

(apply-vector + '#(1 2 3)) = (+ 1 2 3)

Nice for performance-hungry situations where guaranteed memory locality and slightly higher memory density of vectors is of use.

Asking for this in Gambit's runtime as this one must be there because it's a lowlevel primitive and cannot be implemented in user library code, especially considering DSSSL support of |apply|.

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

No branches or pull requests

1 participant