On 08/22/05 Carlos Alberto Cortez wrote:
> We have mono_assembly_name_parse, which receives a MonoString* and a
> MonoAssemblyName*. The problem I find is that every time a
> System.Reflection.AssemblyName were created using the described ctor, we
> should also create a MonoAssemblyName (not needed).

MonoAssemblyName is a structure, so the cost of 'creating' a MonoAssemblyName
is essentially 0.

> With the managed ctor, we also avoid calling the internal call.

Your implementation does at least a few tens of internal calls, likely a
few hundreds.

lupus

-- 
-----------------------------------------------------------------
[EMAIL PROTECTED]                                     debian/rules
[EMAIL PROTECTED]                             Monkeys do it better
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to