Skip to content
Snippets Groups Projects
Commit 47ed9ca7 authored by Yuka Takahashi's avatar Yuka Takahashi Committed by Vassil Vassilev
Browse files

[cxxmodules] Respect LD_LIBRARY_PATH order and save memory

std::set was not good because it sorted libraries by alphabetical order
and didn't preserve LD_LIBRARY_PATH order information. We can use
std::vector instead. (Erasing rarely happens and doesn't cost so much)

Path prefix like "/home/yuka/modules/lib/" costs memory, I
think it makes sense to avoid path duplication in sLibraries and make sPaths
vector for this prefix.
parent de5583ac
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment