diff --git a/docs/faq.md b/docs/faq.md index 8c3218162056dae502071bc9064b2a9782ec9e88..37b4ddf4668e94035b333d1250333fa51ad50d55 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -16,13 +16,13 @@ code. Why is the generated static library file size so huge? ------------------------------------------------------- The static library is simply an archive of a set of object files which are -intermediate and contain many extra information, please check whether the +intermediate and contain much extra information, please check whether the final binary file size is as expected. Why is the generated binary file (including shared library) size so huge? ------------------------------------------------------------------------- When compiling the model into C++ code, the final binary may contains extra -debug symbols, they usually takes a lot of space. Try to strip the shared +debug symbols, they usually take a lot of space. Try to strip the shared library or binary and make sure you are following best practices to reduce the size of an ELF binary, including disabling C++ exception, disabling RTTI, avoiding C++ iostream, hidden internal functions etc.