From 571453221a7db609c763d0ad6444dbd9b991e486 Mon Sep 17 00:00:00 2001 From: Zero King Date: Fri, 29 Jun 2018 01:18:56 +0000 Subject: [PATCH] Update faq.md --- docs/faq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 8c321816..37b4ddf4 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. -- GitLab