Re: AliasToBeanConstructorResultTransformer Improvement

"Fabio Maulo" <[email protected]> Wed, 3 Sep 2008 20:17:00 -0300
Newsgroups gmane.comp.windows.dotnet.nhibernate.devel
Message-ID <[email protected]>
--===============0464343690==
Content-Type: multipart/alternative; 
	boundary="----=_Part_24904_7213324.1220483820326"

------=_Part_24904_7213324.1220483820326
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

2008/9/3 Ayende Rahien <[email protected]>

> Yes, that is a common optimization, and we are using this extensively in
> the Getter/Setter implementation
>

Yes, the "problem" is start to see IL outside ByteCodeProvider or
ReflectionOptimizer...Few month ago somebody else sent a patch with a lot of
IL for an IType implementation (closed as "won't fix")....
I need to think an injectable solution in this case... perhaps a new method
in IInstantiationOptimizer to instantiate a class with no empty constructor.

Thoughts?

-- 
Fabio Maulo

------=_Part_24904_7213324.1220483820326
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr"><div class="gmail_quote">2008/9/3 Ayende Rahien <span dir="ltr">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">Yes, that is a common optimization, and we are using this extensively in the Getter/Setter implementation<br></div></blockquote></div><div><br></div>Yes, the &quot;problem&quot; is start to see IL outside ByteCodeProvider or ReflectionOptimizer...<div>
Few month ago somebody else sent a patch with a lot of IL for an IType implementation (closed as &quot;won&#39;t fix&quot;)....</div><div>I need to think an injectable solution in this case... perhaps a new method in&nbsp;IInstantiationOptimizer to instantiate a class with no empty constructor.</div>
<div><br></div><div>Thoughts?</div><div><br></div><div>-- <br>Fabio Maulo<br>
</div></div>

------=_Part_24904_7213324.1220483820326--


--===============0464343690==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--===============0464343690==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Nhibernate-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nhibernate-development

--===============0464343690==--