Blog de Francisco Velázquez

otro blog personal

ASP.NET WebPages Optimizar el uso de strings

leave a comment »

Interesante optimización del equipo de WebPages para mejorar como se renderizan las páginas.

Instead of creating a string from the StringWriter (_tempWriter) we will copy the underlying buffer in chunks to the output text buffer. For large pages this both reduces the total allocations to 1KB as well as avoid getting into the large object heap.

Este es un problema común en código manejado cuando se usan cadenas.

Written by fravelgue

August 13, 2014 at 4:00 pm

Posted in development

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: