2 ms·
Specifically the benefit is for the native libraries within the file as you can map the library directly to memory instead of having to make a decompressed copy
by charcircuit 10mo ago
Specifically the benefit is for the native libraries within the file as you can map the library directly to memory instead of having to make a decompressed copy and then mapping that copy to memory.
- zahlman 10mo agoYes, that's clear. I'm just not aware of people actually doing that, or having done it back in the era when Java was more dominant.
- charcircuit 10mo agoThe bigger issue is that glibc doesn't support loading libraries from zip archives where bionic's linker ddoes. So on platforms where glibc is used you wouldn't see it being done.
- zahlman 10mo agoAgain, I was talking about Java (not C). Good to know, though.