Unit SparseArrayUnit
Description
The purpose of SparseArrayUnit
is to define TSparsePointerArray which acts like an array of pointers It provides constant time access to Items. However, it uses less memory than an array for cases where many of the pointers are nil.
SparseArrayUnit
is modified from QGrids.pas to put TSparsePointerArray in the interface and to modify comments to be compatible with TPasDoc.
Uses
Overview
Classes, Interfaces, Objects and Records
Class EStringSparseListError |
EStringSparseListError is the type of exception generated by errors regarding sparse arrays. |
Class TSparsePointerArray |
TSparsePointerArray acts like an array of pointers with constant time access to Items. However, it uses less memory than an array for cases where many of the pointers are nil. |
Types
Description
Types
TSPAApply = TFunc<NativeInt, Pointer, NativeInt>; |
TSPAApply = function(TheIndex: Integer; TheItem: Pointer): Integer;
|
TSecDir = array[0..4095] of Pointer; |
Enough for up to 12 bits of sec
|
TSPAQuantum = (...); |
Section size
Values
|
Generated by PasDoc 0.12.1 on 2013-05-13 15:42:03