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

slow bytecode wrappers #1439

Open
Bike opened this issue Mar 29, 2023 · 0 comments
Open

slow bytecode wrappers #1439

Bike opened this issue Mar 29, 2023 · 0 comments

Comments

@Bike
Copy link
Member

Bike commented Mar 29, 2023

During bootstrap, we use bytecode to handle the complex lambda lists of some Lisp functions implemented in C++, like vector-push-extend. These bytecode wrappers are appreciably slower than native-compiled wrappers, so it would be good to replace them.

There is code to do this already in bytecode-adaptor.lisp, but it doesn't work during build. This is because it simply tries to compile every bytecode function, including ones that are not lambda list wrappers. That causes various problems, especially because many of the non-wrapper functions have compile-info in their bytecode wrappers that are not appropriate.

Filing this to stave off forgetting about it while I work on other things.

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