WYRDTEK Home Features Reference Downloads About


Reference/es_sdc_new

Syntax

struct es_sdc *es_sdc_new( struct es_sd *dict );

Arguments

struct es_sd *dict String dictionary.

Description

Construct a new compressed string dictionary from regular string dictionary dict. The result is a read-only compressed snapshot of dict that can be used for faster string look-up.

A compressed string dictionary may be subsequently destroyed via es_sdc_delete().

A compressed string dictionary can also be constructed from a regular string dictionary that has been bound to a multidimensional database via es_mb_newsdc() or es_mb_getsdc().

[Back To Reference] [Back To Reference/es_sdc]