Replace to emplace C++11 for code refactor and minor optimize inserts#1875
Replace to emplace C++11 for code refactor and minor optimize inserts#1875intel-mediadev merged 1 commit intointel:masterfrom
Conversation
media_softlet/agnostic/common/vp/hal/features/vp_hdr_filter.cpp
Outdated
Show resolved
Hide resolved
MicroYY
left a comment
There was a problem hiding this comment.
Pls fix the compilation error
fix it c95e85f |
|
Thanks for your patching. |
@MicroYY reserve vector optimization insert: #1869 And there is also very good optimization classes and structures that are often moved and copied, optimization affects all modern x64 processors. align for x64 cpu: #1873 |
|
@MicroYY maybe I split commit into many commits? Code review takes a long time. |
|
The merge process is blocked due to internal merging conflict. Could you pls rebase this pull request? |
ok, wait. |
|
Hi @GermanAizek |
|
Hi @GermanAizek |
|
@MicroYY, |
0141fd2 to
51f9fe1
Compare
Signed-off-by: Herman Semenov <GermanAizek@yandex.ru>
Rather, it refers more to refactoring and code reduction, I checked assembly listing -O0 and -O2 on clang. And it also affects optimization insert on Release configuration.
Clang 19 emplace -O0

Clang 19 emplace -O2

VS
Clang 19 insert make_pair -O0

Clang 19 insert make_pair -O2
