The OpenD Programming Language

mir.string_table

Mir String Table designed for fast deserialization routines.

Members

Functions

smallerStringFirstCmp
sizediff_t smallerStringFirstCmp(T[] a, T[] b)

Compares strings by length and then lexicographically.

Structs

MirStringTable
struct MirStringTable(size_t length, size_t maxKeyLength, bool caseInsensetive = false, C = char)

Fast string table used to get key's id. The keys should be first sorted by length and then lexicographically.

MirStringTable
struct MirStringTable(U, C = char)

Fast string table used to get key's id. The keys should be first sorted by length and then lexicographically.

Templates

smallerStringFirst
template smallerStringFirst(alias direction = "<")

Compares strings by length and then lexicographically.

Meta

Authors

Ilia Ki