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 tree data structure, use data structure programming, use algorithm programming, tree structure programming, tree structure algorithm, tree data structure using, tree data structure algorithm, tree algorithm, simple programming language, simple data structure, used programming language, efficient programming language, efficient algorithm, delphi programming 2014, delphi language programming, data structure tree notes, data structure notes, data structure tree, data structure algorithm using, programming tree data structure, data structure library, algorithm tree structure, algorithm tree, algorithm encryption, algorithm data structure

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

Projekt-ID: #6046131

Tildelt til:

igors233

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)
6.1

8 freelancere byder i gennemsnit $331 for dette job

CodeAmbassador

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)
6.1
xpressionlab

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)
4.1
CaptainKK

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

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

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)
3.0
ciphe

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)
0.0
WebBahl

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)
0.0
imagetoolsgroup

I have multi-year experience in Delphi 7. Creation of graphical software and data processing. www.ImageToolsGroup.com

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