Skip to content

optimizing: builtin sym marking on parser-time#22580

Merged
spytheman merged 10 commits intovlang:masterfrom
felipensp:opt_check_type
Oct 21, 2024
Merged

optimizing: builtin sym marking on parser-time#22580
spytheman merged 10 commits intovlang:masterfrom
felipensp:opt_check_type

Conversation

@felipensp
Copy link
Copy Markdown
Member

@felipensp felipensp commented Oct 18, 2024

This PR aims add optimizations in as sym is checked as builtin.

image

@felipensp felipensp changed the title optimizing: caching unwrap_generic + checking identic types optimizing: checking identic types Oct 18, 2024
@esquerbatua
Copy link
Copy Markdown
Contributor

Great job!

@felipensp felipensp changed the title optimizing: checking identic types optimizing: checking identic types and builtin sym marking Oct 19, 2024
Comment thread vlib/v/gen/c/cgen.v
@spytheman
Copy link
Copy Markdown
Contributor

spytheman commented Oct 20, 2024

I could not reproduce the result on my machine :-| .
image

Note the standard deviations for the results.

image

@spytheman
Copy link
Copy Markdown
Contributor

spytheman commented Oct 20, 2024

@felipensp, can you please split the Immediate identical type checking part in a separate PR?

I think it can be beneficial on its own, and it may be masking the effects of the other change (which is more complex, and I suspect may be slowing things).

@felipensp felipensp changed the title optimizing: checking identic types and builtin sym marking optimizing: builtin sym marking on parser-time Oct 20, 2024
@felipensp
Copy link
Copy Markdown
Member Author

@felipensp, can you please split the Immediate identical type checking part in a separate PR?

I think it can be beneficial on its own, and it may be masking the effects of the other change (which is more complex, and I suspect may be slowing things).

Ok done.

@felipensp felipensp marked this pull request as ready for review October 20, 2024 12:31
@spytheman
Copy link
Copy Markdown
Contributor

Thank you.

@spytheman spytheman merged commit 72f6368 into vlang:master Oct 21, 2024
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

Successfully merging this pull request may close these issues.

3 participants