MacTrove  — Classic Macintosh Archive
 
 Home Software Hardware Docs Magazines Forums Search
Search:   Software, forums, magazines & more

Crefdyngenstrarray

File crefdyngenstrarray.hqx
Size 182.2 KB
Category Development
↓ Download crefdyngenstrarray.hqx

Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat.

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. With best regards Andrei Verovski

MacTrove — Classic Macintosh Archive — Full site | Software | Search
Classic version — compatible with older browsers.