Re: Re[2]: Suggestion for EDS

new topic     » goto parent     » topic index » view thread      » older message » newer message

Aku writes:
> for i=1 to 1000000 do
>    isi &= 254 -- large atom
> end for
>
> x(db_insert("file",isi))
> db_close()

> the database file size is 3MB
> (3 bytes per atom)

Yes, sorry. A character uses 3 bytes (not 2 like I said yesterday) 
when the value is 240 or higher, but most characters in most strings
are 0 to 239, and they use only 1 byte. 

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu