CRefDynGenStrArray JUL24_00.zip

Software development utilities, language compilers and interpreters, debuggers, resource editors and templates, etc.
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
CRefDynGenStrArray JUL24_00.zip

Post by Info-Mac » July 26th, 2000, 9:00 am

Download: http://archive.info-mac.org/dev/cref-dy ... -array.hqx

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.
Post Reply