[Users] [PATCH 1/3] Avoid strlen() on big buffers, use precomputed length instead

Colin Leroy colin at colino.net
Thu Oct 25 09:45:20 CEST 2012


On Wed, 24 Oct 2012 23:40:52 +0200, Igor Mammedov <imammedo at redhat.com>
wrote:

Hi Igor,

> it reduces cost of textview_write_line() from 32% to 3% for big
> messages

Thanks, all three applied! Keep them coming if you find other
bottlenecks :)

-- 
Colin



More information about the Users mailing list