[Mono-devel-list] System.Web/System.Web.UI - patch (code synchronization between Mono and Mainsoft)

Gonzalo Paniagua Javier gonzalo at ximian.com
Thu Jun 9 19:05:34 EDT 2005


On Wed, 2005-06-08 at 14:11 +0300, Ilya Kharmatsky wrote:
> Please review the patch. 
> 
> BTW, in HtmlTextWriter.cs we changed internal structs (e.g.
> RenderStyle) to be the classes
>  and not structs - this in order to resolve heavy performance problem
> in our implementation
>  of initialization of arrays of structs. May be the better idea is to
> change also original mono
>  code - since in this case we can avoid additional "splitting" of code
> between standard and 
>  J2EE configuration. I think impact of this won't be too high - from
> perspective of memory
>  consumption and performance.

RenderAttribute, TagInformation and RenderStyle might be ok as classes.
As you say, this is no big deal. Feel free to make those classes if
nothing breaks.

-Gonzalo





More information about the Mono-devel-list mailing list