Skip to main content
Home Browse Development Cref Dyn Gen Str Array
Cref Dyn Gen Str Array
Cref Dyn Gen Str Array icon

Cref Dyn Gen Str Array

Development · info-mac
Filenamecref-dyn-gen-str-array.hqx
Size59.0 KB (60413 bytes)
Downloads2
About
STL-vector-based dynamic array of generic strings. Supports storing of Pascal&C style strings, STL strings and vector. All strings are kept in single storage buffer, so even very large number of items will not cause memory management overhead. Occupies StringLen[0] + ... StringLen[n - 1] + 2*n*sizeof(size_t). In other words, CRefDynGenStrArray is really space efficient. CRefDynGenStrArray maintains additional reference table of real indexes. Thus, many functions will involve only operations with reference table. For example, Insert() actually appends item (what is much faster) and inserts only entry into reference table; Swap(), Move() and sort will cause changes only in reference table. Refer to http://homepage.mac.com/macgurutemple/ for more info.
File Info

This file is from the info-mac archive. It is BinHex encoded — use The Unarchiver to decode it.

MacTrove — a free archive of classic Macintosh software. Files mirrored from ftp.funet.fi/pub/mac (info-mac + funet legacy). All software provided for historical preservation.