W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

Re: Buffersize for HTUU_encode

From: <jose.kahan@w3.org>
Date: Fri, 16 Jun 2000 10:18:51 +0200 (MET DST)
Message-Id: <200006160818.KAA12368@tuvalu.inrialpes.fr>
To: "Kallweit, Heiner" <Heiner.Kallweit@commerzbank.com>
CC: www-lib@w3.org
Thanks Heiner,

I changed the comments in HTUU.c to match your recommendation (the 
"simple one"). I also changed the buffer size in one call to HTUU_encode() 
from HTAABrow.c.

All committed to CVS.

-Jose

In our previous episode, Kallweit, Heiner said:

> Your old formula gives 1+(4*2)/3 = 1+8/3 = 1+2 = 3.
> My formula gives 5+4*((2-1)/3) = 5+4*(1/3) = 5+4*0 = 5.
> 
> For simplicity I would suggest to use 5+4*(nbytes/3). This is enough in
> every case.
Received on Friday, 16 June 2000 04:18:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:36 GMT