-
Notifications
You must be signed in to change notification settings - Fork 21
Use VeQuickItem::numberValue to reduce binding overheads #1184
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
base: main
Are you sure you want to change the base?
Conversation
|
This one is risky, and unnecessary - we easily hit the performance requirement (in electrons-paused mode) without this PR. |
0819074 to
c0af932
Compare
| property bool inputMode | ||
| property int orientation: Qt.Vertical | ||
| property bool animationEnabled | ||
| property bool inOverviewWidget |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not used anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftovers from when I force pushed the other PR. This PR is targeted at the other branch :-/
c0af932 to
866c191
Compare
394da2f to
39940a5
Compare
d25aab0 to
ba3e0b0
Compare
39940a5 to
353a587
Compare
ba3e0b0 to
223c102
Compare
353a587 to
f025ac6
Compare
blammit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
223c102 to
3795263
Compare
f025ac6 to
3c33176
Compare
3c33176 to
11480f0
Compare
|
We might be able to use nullish coalescing to get the same benefit instead, i.e. change
to
as long as that still results in one reading of I think we should start using this in the codebase generally to make things more concise. |
|
Does QML's fast-path JS expression evaluator support nullish coalescing, or does it fall back to full JS context evaluation for expressions containing those? |
No idea, probably requires hunting through the source to find out. |
No description provided.