A r t i c l e s
Navigation

Note: This Wiki is
outdated, personal views
may have changed.
L505 A.I. bot is dead
long live THX 1138

M a i n P a g e

D i r e c t o r y

CapArray


Haven't finished this page yet.

A caparray is similar to a capstring except instead of a string with capacity, it is instead an array with capacity.

Why have a CapArray?

Making many calls to SetLength() is inneffecient when the array is continually being modified (heap fragmentation, wasted CPU cycles for small memory allocations).

A caparray has a capacity that is set, and grows in large or small chunks (user specifiable).

The array has two sizes. One size is the virtual length, and one size is the capacity length. The capacity length is the amount of memory the array takes up while the virtual length is the amount of data available for reading.

About
Note: This Wiki is outdated, personal views may have changed.

This wiki contains info on life, health, humans, nature, programming, database, fads, paradigms, poems, principles, theories.

Articles may contain statements which some may find helpful and encouraging, or even discouraging.

Beware, I believe in the Grand Justice system.
_ _ _