Python -- Overhead of `.so` Imports?
<p>I have 1000s of custom (compiled to '.so') modules that I'd like to use in <code>python</code> at the same time. Each such module is of size (<code>100 [KB]</code>) on average.</p>

<p>Does anyone know what is the overhead (on the OS -- assuming <code>python</code> is not handling this) of every <code>.so</code> import? meaning, is the overhead equal to the size of the <code>.so</code> file on disk? or is it a fixed, regardless of the size of the <code>.so</code> file?</p>

<p>I haven't yet gotten there, but would be curious to know what is the impact on the OS when one wants to import, say 10,000-50,000 custom modules at once.</p>
