1. Suggestion for EDS

Suggestion for EDS:

1. if user stores a sequence, make EDS can check if it is
   a string (all bytes 0-255). If yes, store as string (just use 1
   byte per atom). If not, store as usual. If this is make EDS slower
   make function enable_string() and disable_string() for example.
   So I can store contents of a 1 MB file without having a 4 MB .edb
   file.

2. can make autonumber especially for record keys. and add indexing
   in same file (.edb) for record data.

3. add encryption with password.


Thanks!

new topic     » topic index » view message » categorize

2. Re: Suggestion for EDS

Aku writes:
> 1. if user stores a sequence, make EDS can check if it is
>   a string (all bytes 0-255). If yes, store as string (just use 1
>   byte per atom). If not, store as usual. If this is make EDS slower
>   make function enable_string() and disable_string() for example.
>   So I can store contents of a 1 MB file without having a 4 MB .edb
>   file.

EDS only uses one byte per character for strings
(except for extremely rare cases where 2 bytes might be used). 
There's also a couple of bytes of overhead.

See compress()/decompress() in database.e

> 2. can make autonumber especially for record keys. 
> and add indexing in same file (.edb) for record data.

I'll think about it.

> 3. add encryption with password

The data is already slightly encrypted,
i.e. you can't load a .edb file into an editor
and visually read the strings or the numbers.

I'm not sure I want to implement one of the
strong encryption algorithms. There are still some
U.S. export restrictions on encryption algorithms.
I wouldn't want Euphoria to be banned from
distribution by the large U.S. shareware sites.

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Suggestion for EDS


new topic     » goto parent     » topic index » view message » categorize

4. Re: Suggestion for EDS

> Hi, Euphorians!
> I'm a bit baffled. What is EDS? 

EDS is a free database designed by RDS for EUPHORIA.
It's a very easy database to learn and there are a couple
of eamples on the user contrib page.

I recommend d/l ing EDS and reading the HTM that
is supplied with the database.

>Where is database.e?

http://www.rapideuphoria.com/eds.zip

new topic     » goto parent     » topic index » view message » categorize

5. Suggestion for EDS

Suggestion for EDS (eu database system):

Table can have more than 1 same key.
User will define if it can have > 1 same key on
db_create_table, such as
db_create_table({"data", DB_MULTI_KEY})
-- to be compatible with older version

Thanks!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu