[Array->Reserve] reserves space for the specified number of elements in an array. Requires one parameter which is an integer specifying the expected size of the array. [Array->Reserve] can be used if the size of an array is known before hand. Lasso can allocate memory more efficiently if it knows the expected size of the array rather than allocating space for one additional element each time one is inserted.
[Array->Reserve(100)]
See the Lasso 8 Language Guide for examples of how to use this tag.
Tag Link | [Array->Reserve] | Category | Array |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 8.0 |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft