DevNotes
DevNotes copied to clipboard
如果不考虑上下文的话,这句话后半句是不是应该指的是静态库的情况下
-
When an app is launched, the app’s code—which includes the code of the static libraries it was linked with—is loaded into the app’s address space.Applications with large executables suffer from slow launch times and large memory footprints
-
静态库:当程序在启动的时候,会将 app 的代码(包括静态库的代码)一起在加载到 app 所处的内存地址上。相比于静态库 的方案,使用动态库将花费更多的启动时间和内存消耗。还会增加可执行文件的大小。