-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Eliminate more transient allocations: Titles and invalid rectangles and bitmap runs and utf8 conversions #8621
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
60bbf49
We never look at just the prefix. So store Title+Prefix concatenated …
miniksa be5da8d
Finish fixing title. Change all Dirty Areas to be stored in the engin…
miniksa f66d51e
Make it use wstring_view
miniksa 2983b9d
These should be string views to match.
miniksa b2e6d6d
Code format!
miniksa 50e8ee8
static analysis
miniksa 141bbd9
fix test things too.
miniksa ead8fab
Merge branch 'main' into dev/miniksa/perf_title_and_dirty
miniksa 00f80e4
Add held-buffer converter helpers for hot paths.
miniksa d8cbaed
Hold a conversion buffer string on the VtEngine to prevent hundreds o…
miniksa 1882623
use PMR pool for the vector in the bitmap so we're not alloc/freeing …
miniksa f378785
Revert "Hold a conversion buffer string on the VtEngine to prevent hu…
miniksa 0f4d33b
Use u16u8 instead of reinventing the wheel on out parameters for conv…
miniksa 1d977b7
code format!'
miniksa 8221b22
Validated in razzle. Forgot to declare the rectangle in bgfx engine.
miniksa 9fefabf
Spell check. codepath --> code path.
miniksa fa1e14a
missed a noexcept for audit mode.
miniksa ebbda64
Don't bother adding these functions to Convert since I didn't use 'em…
miniksa 1929b32
Fixed it I think.
miniksa 7662ea8
Merge branch 'main' into dev/miniksa/perf_title_and_dirty
miniksa c6432ae
ensure that PMR is being used now that it's not strictly a part of th…
miniksa a6f1b49
Reorder constructors for bitmap how they are in main. Use the three-p…
miniksa b308974
CODE FORMAT!!!!
miniksa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@DHowett, if I don't call it with three parameters, it is turning the
&_pool
intobool true
. What.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.
Ahh, automatic coercion of pointer types to booleans (for nullness checks). Ew.