Skip to content

Token: avoid unnecessary lookups in update_property_info() and added unit tests for it #7369

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

Merged
merged 4 commits into from
Mar 18, 2025

Conversation

firewave
Copy link
Collaborator

No description provided.

@firewave firewave force-pushed the updateprop-y branch 7 times, most recently from 74d74c9 to d4f2034 Compare March 12, 2025 10:21
@firewave firewave changed the title Token: avoid unnecessary lookups in update_property_info() and added unit test for it Token: avoid unnecessary lookups in update_property_info() and added unit tests for it Mar 12, 2025
@firewave firewave force-pushed the updateprop-y branch 8 times, most recently from d0b0be7 to 73773fe Compare March 12, 2025 13:19
@firewave

This comment was marked as resolved.

@firewave firewave marked this pull request as ready for review March 14, 2025 10:46
@firewave
Copy link
Collaborator Author

firewave commented Mar 14, 2025

before:

60,592,607,297 (100.0%)  PROGRAM TOTALS

after:

60,253,577,235 (100.0%)  PROGRAM TOTALS

Copy link
Owner

@danmar danmar left a comment

Choose a reason for hiding this comment

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

if you fix the spelling then feel free to merge

lib/token.cpp Outdated
tokType(eKeyword);
update_property_isStandardType();
if (mTokType != eType) // cannot be a control-float keyword when it is a type
Copy link
Owner

Choose a reason for hiding this comment

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

control-float => control-flow

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@firewave firewave merged commit 9c9d08e into danmar:main Mar 18, 2025
60 checks passed
@firewave firewave deleted the updateprop-y branch March 18, 2025 13:17
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