Skip to content

parser: optimize method parameter detection in used check#22915

Merged
spytheman merged 1 commit intovlang:masterfrom
ttytm:parser/perf/method-param-check
Nov 19, 2024
Merged

parser: optimize method parameter detection in used check#22915
spytheman merged 1 commit intovlang:masterfrom
ttytm:parser/perf/method-param-check

Conversation

@ttytm
Copy link
Copy Markdown
Member

@ttytm ttytm commented Nov 19, 2024

Instead of comparing the whole type_pos struct this can be the key index.

Huly®: V_0.6-21358

Comment thread vlib/v/parser/fn.v
Copy link
Copy Markdown
Contributor

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit b0dc186 into vlang:master Nov 19, 2024
@ttytm ttytm deleted the parser/perf/method-param-check branch November 19, 2024 19:46
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.

2 participants