Re: [Patch] LaTeX: improve equation edit dialog

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Wed Apr 09 2008 - 23:36:36 CEST

On Wed, 2008-04-09 at 16:26 -0400, Dominic Lachowicz wrote:
> I'd avoid the size() check. Any smart operator== will do this (our
> UT_XXXString classes aren't smart about this. I'll fix that in a
> moment). Besides, we aren't talking about comparing megabytes of data
> where the only change happens near the end.
>

Also testing if size() != 0 is usually slower than testing empty()

Hub
Received on Wed Apr 9 23:43:46 2008

This archive was generated by hypermail 2.1.8 : Wed Apr 09 2008 - 23:43:46 CEST