Blog de Francisco Velázquez

otro blog personal

Posts Tagged ‘string

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.

Advertisements

Written by fravelgue

August 13, 2014 at 4:00 pm

Posted in development

Tagged with , , ,