Dictionaries 1.2

Version: 1.2

Downloads:0

Hits:2762

SourceYES

Link Broken:Report It!

Package:Without source

Price:$0

Package:Source included

Price:$0

More info Download

Description

These are dictionary components specially designed for large amount of small strings (for example words and expressions).
They take less computer resources (RAM and CPU) and are faster than other similar components.

Each component can be created with specific parameters (most of them can be changed even after):
Dynamic: when it's on is faster modifying the items and it fragments the RAM memory less. When it's off it's faster reading the items and it takes less Ram.
CaseSensitive: when it's off it doesn't distinguish between lowercase and uppercase.
AllowDuplicates: when it's on you can add similar strings.
AllowRehash: when it's off the indexing is suspended. Useful when you want to make substantial changes and to reindex only after you finished.
HashMemoryUsage: you can choose between Normal (fast when you make modifications but it takes more RAM) and Low (it uses less RAM but it's slow when you make modifications). Low is recommended for static dictionaries.
CodePage: you can set your region code page (Latin 1, Latin 2: Eastern Europe, Cyrillic, Greek, Turkish, Hebrew, Arabic, Baltic and so on) or you can set 0 to the OS default.

The dictionaries can be loaded from files or exe resources and they can be saved in files. It knows text file types (ANSI, Utf8 and Unicode) but it also has a raw format. With this you can load or save directly instead of transforming first in/from text, consuming less CPU and RAM and being faster.
You can choose to save only a part or all the dictionary.
Also you can save it in an optimized format for quick loading.

Another improvement is the capability to make a lot of modifications faster than other similar components. You can append, insert or delete multiple items (in non sequential positions) in one command very fast. The more the merrier. For example deleting 100 000 items will take CPU/RAM as for deleting 10 items one by one.

There are 5 types of dictionary components:
TDictionary - only 0..255 chars keys
TShortStringDictionary: 0..255 chars keys + 0..255 chars values
TStringDictionary: 0..255 chars keys + 0..65535 chars values
TMultiShortStringDictionary: 0..255 chars keys + 0..255 values of 0..255 chars each
TMultiKeyDictionary: 0..255 keys of 0..255 chars each

In a simpler form they are used for years (successfully) in an application called Autocorect (a tool for correcting written language in text documents).

If you use FastMM or you use one of the latest Delphi version you may add FastMove to the uses clause. In some situations it will improve the speed (mostly on Intel CPUs but sometimes on AMD's too).

Related:

Dictionary - Keys

User Reviews:

Write Review *
Your name *
Email *
(Your comments will be reviewed by our staff before they are posted)
Rate this product *
Captcha Image
Enter code from image *

 

Related:

Business & Finance Multilingual Dictionary 9984921735

This dictionary contains an extensive vocabulary, covering a wide range of topics relating to business - from office practice to stock market and...

By: Igor Sharshakov

Freeware

Dictionary of Computing for Everyone 9984921743

Ideal for any business traveler, this dictionary contains an extensive vocabulary, covering a wide range of topics relating to computing science...

By: Igor Sharshakov

Freeware

ActiveX ASP/VBA/COM Dictionary

Free-threaded hi-speed dictionary algorithm with unique/nonunique keys (map/multimap). Connect to another dictionary object in the same process....

By: Motobit Software

Shareware

Dictionary Mixin / Framework 1.1

This script makes it easy to provide a full dictionary interface to a class defining only a few mapping methods for getting, setting,...

By: code.activestate.com Homepage

Freeware

Case-insensitive Dictionary 1.0

Case-insensitive Dictionary script is a dictionary that has case-insensitive keys.

By: code.activestate.com Homepage

Freeware

Frozen dictionaries 1.0

A frozen dictionary is a dictionary that cannot be modified after being created - but it is hashable and may serve as a member of a set or a key in...

By: code.activestate.com Homepage

Freeware

ActiveX ASP VBA COM Dictionary object 1.0

Free-threaded hi-speed dictionary algorithm with unique/nonunique keys (map/multimap). Connect to another dictionary object in the same process....

By: Antonin Foller Homepage

Shareware

Multi Dictionary

Multi threaded dictionary is an ASP based component which works with WHS, VBS, ASP, VBA and provides various keys for multi threading. It has...

By: PSTRUH Software, Homepage

Shareware

ActiveX ASP/VBA/COM Dictionary object 1.0

Features / Free-threaded hi-speed dictionary algorithm (better than Scripting.Dictionary, which is apartment threaded) / Unique/nonunique keys...

By: Antonin Foller Homepage

Shareware

Scripting Objects - The Dictionary Object

In this ASP tutorial, scripting objects are explained in detail where particularly you can learn about Dictionary Object, it's usage and methods...

By: ASP Boot Camp Homepage

Freeware