<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: [LCP]Dynamic libraries and plugins</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>> Then, as soon as you call dlopen on the file the whole thing will get</FONT>
<BR><FONT SIZE=2>> mapped into memory, just the same as if you let it be </FONT>
<BR><FONT SIZE=2>> automatically loaded</FONT>
<BR><FONT SIZE=2>> with the program. So there isn't any real savings there. </FONT>
</P>
<P><FONT SIZE=2>Except if you unload it afterwards, in which case the</FONT>
<BR><FONT SIZE=2>different .so don't get loaded at the same time, so this</FONT>
<BR><FONT SIZE=2>saves memory (provided there is no instance where all</FONT>
<BR><FONT SIZE=2>are needed at the same time, of course).</FONT>
<BR><FONT SIZE=2>But then again, I'm not too sure about the effects on</FONT>
<BR><FONT SIZE=2>memory fragmentation this could have. Anyone ?</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Vincent Penquerc'h </FONT>
</P>
</BODY>
</HTML>