Hmmm, the Valentina docs surely don't, but the RB docs do; look under "multiplication"... ;-)
It's often used since the value for the cache size is expected in bytes, but you'd probably rather define it in kB or MB; since 1 kB is 1024 bytes, and 1 MB = 1024 kB, the term
3 * 1024 * 1024
is an easy way to set the cache to 3 MB, for which you could also write 3145728. There's no point in using a term like 3 * 2048 * 2048 (which amounts to 12582912 bytes, or 12288 kB, or 12 MB), because it doesn't make the thing more readable.
Cheers, Frank+++
Bill Mounce wrote: > > >> ValentinaInit (3 * 1024 * 1024, "", "") > >> > >> Do you have recommendation for the next several sizes bigger? > > > > There is no any recommendation, > > > > you can give as many as you can on your hardware. > > The problem is that the docs don't tell anywhere what "1024 * 1024" actually > means. I changed it to: > > ValentinaInit (3 * 2048* 2048, "", "") > > Does this double the cache? Quadruple it? Thanks. > > Bill
-- Günter Schmidt & Co. oHG Frank Bitterlich eMail: bitterlich At gsco DO.T de Schlosserstr. 2-4 WWW: http://www.gsco.de/gsco D-60322 Frankfurt Tel.: 069 / 156809-29 GERMANY Fax: 069 / 156809-28 ©2001 Frank Bitterlich |