I want to import big library which is compiled beforehand and enable to import short time. For example, I want to compile the following code many times and want the compile time as short as possible.
import chaemon_header # this is very large but not change for each compilication, so I don't like to compile many time.
# the following part is rather short but change many times.
echo "Hello World"
It seems that dynlib has similar feature. But it needs redefine each proc.
I also know that C++ has following similar feature "precompiled header".
https://en.wikipedia.org/wiki/Precompiled_header
I saw .config files. If I copy each .o files manually, my purpose will be achieved. I wonder are there built-in feature or option like C++.