<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>> Date: Thu, 29 Jan 2009 08:31:48 +0100<br>> From: DrScofield@xyzzyxyzzy.net<br>> To: opensim-dev@lists.berlios.de<br>> Subject: Re: [Opensim-dev] proposal: cleanup and break up region modules<br>> <br>> Tleiades wrote:<br>> >> I'd be much more of a fan of having each module a seperate dll.  Files<br>> >> are cheap too. :)  And that makes it very clear to people what they are<br>> >> loading, and what they aren't loading.<br>> >><br>> > <br>> > (On the fear of talking about performance prematurely)<br>> > Won't that cause problems for the JIT'er?<br>> > <br>> > Normally access to member variables gets optimized away into a direct<br>> > memory access rather than invocation of a JSR. If I recall correctly<br>> > this optimization does not work for dynamically loaded assemblies.<br>> <br>> well, if that's the case, then it's not working currently either :-) currently<br>> we lump all region modules into one large super DLL and load that dynamically.<br><br>I  guess what I'm saying is that dll files are not as cheap as it is being implied. Having an application dynamicallly load a large number of dll's at runtime, is less efficient that loading a few large dll's during load time. The JIT'ed code will be less efficient and loadtime of the application will increase. While load time may not be a big issue, I believe it is best to give the JIT engine the best working condition.<br><br>As I understand it the JIT engine and assembly loader have been designed based on a use pattern which states: "Most assemblies will be loaded during application load time, and only few assemblies will be loaded at a latter stage", I definately know this to be a fact for the MS .Net engine, but I don't know if that is also the case for Mono, although I believe it will be safe to assume so.<br><br>> <br>> -- <br>> dr dirk husemann ---- virtual worlds research ---- ibm zurich research lab<br>> SL: dr scofield ---- drscofield@xyzzyxyzzy.net ---- http://xyzzyxyzzy.net/<br>> RL: hud@zurich.ibm.com - +41 44 724 8573 - http://www.zurich.ibm.com/~hud/<br>> _______________________________________________<br>> Opensim-dev mailing list<br>> Opensim-dev@lists.berlios.de<br>> https://lists.berlios.de/mailman/listinfo/opensim-dev<br><br /><hr />check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
 <a href='http://www.microsoft.com/windows/windowslive/' target='_new'>More than messages</a></body>
</html>