Skip to content

Conversation

firewave
Copy link
Collaborator

all at() calls were proceeded by hasValue() so we can just directly fetch the value instead.

@firewave
Copy link
Collaborator Author

"impossible" lookups with no exprid will be dealt with in a different PR.

@firewave firewave force-pushed the pm-at branch 2 times, most recently from 1cb862f to 7a04197 Compare August 25, 2025 13:32
Comment on lines -1730 to +1735
if (value.tokvalue->exprId() > 0 && !pm->hasValue(value.tokvalue->exprId()))
if (value.tokvalue->exprId() == 0)
continue;
Copy link
Collaborator Author

@firewave firewave Aug 25, 2025

Choose a reason for hiding this comment

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

This should have been separate before since an at() call with no exprid would have failed.

@firewave
Copy link
Collaborator Author

It appears to not have much impact on performance but it gets rid of the at() which has irked me for quite a while.

@firewave
Copy link
Collaborator Author

Should be done but I am seeing slightly less executions when profiling this, which should not be happening since it does not functionally change. So still needs looking into.

Copy link

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.

1 participant