I gang

Simple class for storing email addresses

Implement in Delphi 7 or compatible, a simple non-visual class called TEmailList that can be used to store email addresses.

The class must store the data (i.e. the email addresses) in a memory efficient way, allowing the storage of millions of email addresses with minimal use of RAM. The class must be able to hold in memory 1 000 000 email addresses using at most 10 MB of memory. For reference: loading this amount of data in a simple TStringList would use about 33 MB of memory. To achieve this, the data must be stored in some kind of tree structure, which will eliminate the need to store duplicating character patterns.

The TEmailList must have the following public functions:

* AddEmail

* EmailExists

* Clear

* Count

* SaveToFile

* LoadFromFile

Notes: It must be possible only to add unique email addresses to the storage, in case AddEmail is called for email address that already exists in the storage, the AddEmail call must return false. The SaveToFile saves the currently stored email addresses to a given filename in a format of one email address per line. The LoadFromFile loads the email addresses from a file, the file is in one email per line format. The SaveToFile and LoadFromFile functions must support an optional EncryptionKey parameter, if given, the data is saved to disk / read from disk, in encrypted form. The encryption can be implemented using any lightweight encryption library or by implementing some simple encryption algorithm such as RC4. If the data is saved / read in encrypted format, then the file format is naturally not the one email per line format.

Please do not offer solution in any other programming language than Delphi.

Færdigheder: Delphi

Se mere: use of tree data structure, use of data structure in programming, use of algorithm in programming, tree structure programming, tree structure algorithm, tree of data structure, tree in data structure using c, tree in data structure and algorithm, tree in data structure, tree in algorithm, tree data structure in c, tree data structure c, simple programming language, simple data structure, n-tree data structure, n tree data structure, most used programming language, most efficient programming language, most efficient algorithm, delphi programming 2014, delphi language programming, data structure tree notes, data structure tree in c, data structure tree, data structure in c notes

Om arbejdsgiveren:
( 591 bedømmelser ) Turku, Thailand

Projekt-ID: #6046131

Tildelt til:


Hi, I'm Delphi expert with large experience in various areas, I have few ideas on how to do a memory efficient storage. As for encryption, do you want some better encryption like AES? I can implement it with the help o Mere

$215 USD in 10 dage
(36 bedømmelser)

8 freelancers are bidding on average $331 for this job


Hello! I'd like to work with you again and help you on this! This project sounds like a true challenge and is therefore quite interesting to me :-) Within 3 days I will deliver this as an optimized B-tree that Mere

$315 USD in 3 dage
(30 bedømmelser)

Hi I could write you the class that you want, using nested lists etc and optimized string handling to create a small memory footprint for the stored data. I cannot guarantee that it will meet the memory requirements f Mere

$222 USD in 7 dage
(9 bedømmelser)

Would be better is you can send the actual email list to test against? -- -- -- ---- ---- ---- Thanks.

$210 USD in 5 dage
(5 bedømmelser)

Hi there , I'm delphi coder I used to do similar jobs just like the one you have mentioned , I mean creating classes and objects that can make my programming more easier and effective and more protected against evil-mi Mere

$200 USD in 5 dage
(5 bedømmelser)

Looks interesting, first choice is to use a Tree Based Data Structure for storing Strings (you can start a chat to know more), if that does not work, some compression methods can be considered. I have MS in Informat Mere

$1000 USD in 20 dage
(0 bedømmelser)

Hi Mate, DELPHI EXPERT HERE I have seen your project post and surely telling you that we have an experience for this kind of project development. We are best in outsourcing business since 2004 and we have 250+ h Mere

$244 USD in 3 dage
(0 bedømmelser)

I have multi-year experience in Delphi 7. Creation of graphical software and data processing. [url removed, login to view]

$244 USD in 7 dage
(0 bedømmelser)