Re: AliasToBeanConstructorResultTransformer Improvement

"Ayende Rahien" <[email protected]> Wed, 3 Sep 2008 19:48:53 -0400
Newsgroups gmane.comp.windows.dotnet.nhibernate.devel
Message-ID <[email protected]>
--===============1930104061==
Content-Type: multipart/alternative; 
	boundary="----=_Part_19049_7602755.1220485733339"

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

I think that it would be a good idea, but that we should also make this as
the default impl (with the restrictions for security), just like the
reflection optimizer.For that matter, we want to use it from the reflection
optimizer.

On Wed, Sep 3, 2008 at 7:17 PM, Fabio Maulo <[email protected]> wrote:

> 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
>
> -------------------------------------------------------------------------
> 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=/
> _______________________________________________
> Nhibernate-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nhibernate-development
>
>

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

<div dir="ltr">I think that it would be a good idea, but that we should also make this as the default impl (with the restrictions for security), just like the reflection optimizer.<div>For that matter, we want to use it from the reflection optimizer.<br>
<br><div class="gmail_quote">On Wed, Sep 3, 2008 at 7:17 PM, Fabio Maulo <span dir="ltr">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr"><div class="gmail_quote">2008/9/3 Ayende Rahien <span dir="ltr">&lt;<a href="mailto:[email protected]" target="_blank">[email protected]</a>&gt;</span><div class="Ih2E3d"><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><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>
<br>-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>_______________________________________________<br>
Nhibernate-development mailing list<br>
<a href="mailto:[email protected]">[email protected]</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nhibernate-development" target="_blank">https://lists.sourceforge.net/lists/listinfo/nhibernate-development</a><br>
<br></blockquote></div><br></div></div>

------=_Part_19049_7602755.1220485733339--


--===============1930104061==
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=/
--===============1930104061==
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

--===============1930104061==--