Using reserve() for optimization inserts, marked unused pair items and minor code refactor #142
No reviewers
Labels
No Label
CI
Low Priority
Needs Approvals
Needs Rebase
android
bug
duplicate
enhancement
help wanted
invalid
question
translations
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: suyu/suyu#142
Loading…
Reference in New Issue
No description provided.
Delete Branch "GermanAizek/suyu:reserve-refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@administrator,
I think it will be useful for better optimization by compiler. Compilers like strict definitions and keywords.
I tested this branch and it compiles under linux with qt6 and qt5 using clang and gcc. I haven't noticed a huge performance difference. Making all those unique names into a user defined literal should indeed help the compiler. Makes it a little harder to read for someone with no familiarity with the codebase though.
8fb20ebbae
toa29e338273