From 411c0f491d0af37eed9c44b9dc33e20d9f0a699c Mon Sep 17 00:00:00 2001
From: dsiders
- Internally, TDynamicDataQueue maintains a ring queue for pointers to chunks of data using the TDynamicQueueItem type. It is optimized to reduce the amount of data movement required when adding or removing items. + Internally, TDynamicDataQueue maintains a ring queue for pointers to chunks of data using the TDynamicQueueItem type. It is optimized to reduce the amount of data movement required when adding or removing items.
TDynamicDataQueue is used to implement storage for the TCustomLazComponentQueue component in the
- ItemSize contains the size requested for the data structure and its arbitrary content, and is used by default as the return value for the method. CalculateItemSize ensures that the return value is in the range defined by the MinimumBlockSize and MaximumBlockSize properties. + ItemSize contains the size requested for the data structure and its arbitrary content, and is used by default as the return value for the method. CalculateItemSize ensures that the return value is in the range defined by the MinimumBlockSize and MaximumBlockSize properties.
CalculateItemSize is used in the implementation of the private PushInternal method.
@@ -519,10 +519,10 @@
- MaximumBlockSize is an Integer property which indicates the largest memory block size allocated for an item added to the queue. MinimumBlockSize and MaximumBlockSize are used in the CalculateItemSize method to derive the actual block size allocated for a queue item and its arbitrary data.
+ MaximumBlockSize is an Integer property which indicates the largest memory block size allocated for an item added to the queue. MinimumBlockSize and MaximumBlockSize are used in the CalculateItemSize method to derive the actual block size allocated for a queue item and its arbitrary data.
- The default value for MaximumBlockSize is 4096, as set in the Create constructor. MaximumBlockSize cannot be set to a value smaller than MinimumBlockSize.
+ The default value for MaximumBlockSize is 4096, as set in the Create constructor. MaximumBlockSize cannot be set to a value smaller than MinimumBlockSize.