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

Improve performance #5

Open
mstange opened this issue Apr 18, 2018 · 0 comments
Open

Improve performance #5

mstange opened this issue Apr 18, 2018 · 0 comments

Comments

@mstange
Copy link
Owner

mstange commented Apr 18, 2018

We should test the performance of the demangler, and we'll probably want to improve it.

The current setup has lots of memory allocations through the use of Box<...> for nested types and Vec<...> for name sequences. This original C++ code represented types as linked lists whose items were allocated in an arena, and apparently doing so improved performance a lot.

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