-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
implements display based subtype checking (6.4x faster without threads; 2.8x faster with threads) #20781
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
Conversation
|
I declare this to be crucial for version 2. |
|
CI failure unrelated, merging. |
|
Thanks for your hard work on this PR! Hint: mm: orc; opt: speed; options: -d:release |
|
This PR broke compiler compilation here. |
|
Hi @rockcavera |
|
@ringabout , It worked! Thanks. |
|
No problem. |
|
Looks like this PR caused a regression in performance using --mm:refc and --threads:on |
|
I cannot reproduce on Win11
|
|
I talk about a comparison between performance before PR and after PR: |
|
True, but in my case, there are no significant differences with threads on/off in refc after my PR, which indicates there shall be no regressions. My result is In your case, it is That's the contradiction. |
|
The refc code path is not changed at all. No idea what you measure. :P |
|
In fact, I must have done something wrong in the last test. I recompiled and re-tested and indeed there is no regression for refc. |
…s; 2.8x faster with threads) (nim-lang#20781) * WIP: fast 'of' operator based on the literature * implement display based subtype checking Co-authored-by: Araq <rumpf_a@web.de>
…s; 2.8x faster with threads) (nim-lang#20781) * WIP: fast 'of' operator based on the literature * implement display based subtype checking Co-authored-by: Araq <rumpf_a@web.de>
ref #20777
todo
Here is the benchmark #18612 (comment)