Michael Sweet wrote:
>
> On Mar 8, 2010, at 1:43 PM, Domingo Alvarez Duarte wrote:
>
>> Doing more tests I found a mistake of mine on Fl_Help_View.cxx last sent:
>>
>> This macro:
>> #define QCHAR_ENTRY(aname, i1, i2) { #aname,  sizeof(#aname), ENC(i1,i2) }
>>
>> Should be:
>> #define QCHAR_ENTRY(aname, i1, i2) { aname,  sizeof(aname)-1, ENC(i1,i2) }
>>
>> And there is room for a small improvement on binary search of colors and
>> quoted_char:
>>
>> Colors:
>
>
> Keep in mind that binary search overhead makes b-searching on small lists 
> (like the color list) no faster in practice. So I'd use the b-search for the 
> entity names but not the colors...
>
> ________________________________________
> Michael Sweet, Easy Software Products
>
>
>
Yes I know that, the idea when I implemented it with binary search was 
that making the html parsing working better probably would be worth add 
more named colors to it.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to