-
-
Notifications
You must be signed in to change notification settings - Fork 608
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
Bugzilla 24700 - Don't search for mscoff .dp$B section over and over #16780
Conversation
|
Thanks for your pull request and interest in making D better, @dkorpel! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#16780" |
|
Assuming this is a singleton, it perhaps would make sense to have a table of them. |
|
Please clarify 'this' and 'them'. |
|
this = them = sections |
|
Yes, in the issue I mentioned how mscoff should use a hash table for sections just like elf, hence this is not closing the issue yet. |
…lang#16780) (cherry picked from commit 67227f0)
Compile time goes down from 42.5s to 2.8s when compiling this:
Not closing the issue yet, because it's still doing O(n) section search in general making it slower than needed.