Using reserve() for optimization inserts, marked unused pair items and minor code refactor #142

Open
GermanAizek wants to merge 1 commits from GermanAizek/suyu:reserve-refactor into dev
First-time contributor

@administrator,
I think it will be useful for better optimization by compiler. Compilers like strict definitions and keywords.

@administrator, I think it will be useful for better optimization by compiler. Compilers like strict definitions and keywords.
GermanAizek added 1 commit 2024-04-12 16:30:32 +02:00
suyu verify / Verify Format (pull_request) Successful in 1m29s Details
suyu verify / test build (linux-fresh, linux) (pull_request) Successful in 18m19s Details
codespell / Check for spelling errors (pull_request) Has been cancelled Details
suyu-ci / Check REUSE Specification (pull_request) Has been cancelled Details
suyu verify / test build (linux-fresh, clang) (pull_request) Has been cancelled Details
suyu verify / android (pull_request) Has been cancelled Details
8fb20ebbae
Using reserve() for optimization inserts, marked unused pair items and minor code refactor
chaphidoesstuff requested review from Crimson-Hawk 2024-04-18 19:05:48 +02:00
chaphidoesstuff added the
Needs Approvals
label 2024-04-18 19:05:59 +02:00
First-time contributor

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.

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.
Crimson-Hawk force-pushed reserve-refactor from 8fb20ebbae to a29e338273 2024-04-19 03:33:05 +02:00 Compare
Some checks failed
suyu-ci / Check REUSE Specification (pull_request) Successful in 13s
codespell / Check for spelling errors (pull_request) Successful in 16s
suyu verify / Verify Format (pull_request) Successful in 1m43s
suyu verify / test build (linux-fresh, clang) (pull_request) Failing after 9m59s
suyu verify / android (pull_request) Failing after 12m28s
suyu verify / test build (linux-mingw, windows) (pull_request) Successful in 14m3s
suyu verify / test build (linux-fresh, linux) (pull_request) Successful in 19m27s
This pull request doesn't have enough approvals yet. 0 of 2 approvals granted.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No description provided.