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

Performance bottleneck in package-symbols #3

Open
Ambrevar opened this issue Nov 1, 2022 · 2 comments
Open

Performance bottleneck in package-symbols #3

Ambrevar opened this issue Nov 1, 2022 · 2 comments

Comments

@Ambrevar
Copy link
Member

Ambrevar commented Nov 1, 2022

In my experience package-symbols got to be superfast. When visibility is about all symbols and all packages, it quickly gets slow.

For instance, the (if (eq :external visibility) could be moved out of the loop which could increase performance.

In any case, having a benchmark test would be useful to track regressions.

@aartaka
Copy link
Contributor

aartaka commented Nov 1, 2022

Yes, it's quite slow. Moving the condition out of the loop made it even slower for me, though :D

@Ambrevar
Copy link
Member Author

Ambrevar commented Nov 1, 2022

That's why we need benchmarks :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants