REGXSTBL parameter: Difference between revisions
(Automatically generated page update) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Template:REGXSTBL parameter subtitle}} | {{Template:REGXSTBL parameter subtitle}} | ||
==Summary== | ==Summary== | ||
<dl> | <dl> | ||
<dt>Default value | <dt>Default value | ||
<dd> | <dd>2048 | ||
<dt>Parameter type | <dt>Parameter type | ||
<dd>System | <dd>System | ||
Line 11: | Line 10: | ||
<dd>User 0 parameter line | <dd>User 0 parameter line | ||
<dt>Related products | <dt>Related products | ||
<dd>All | <dd>All | ||
<dt>Introduced | <dt>Introduced | ||
<dd><var class="product">Model 204</var> version 7. | <dd><var class="product">Model 204</var> version 7.9 | ||
</dl> | </dl> | ||
==Description== | ==Description== | ||
This parameter indicates the amount of STBL to be assigned to each swapped-in [[Regex class|Regex object]]. | |||
When the [[New (Regex constructor)|Regex constructor]] is invoked, the regular expression string and replacement string are compiled and the original strings and compilations are saved in the STBL part of the object. If the total size of these strings and compilations exceeds <var>REGXSTBL</var>, the request is cancelled. | |||
Since the size of the regular expression and replacement compilation rarely exceed 16 bytes per source character (it's usually less), the default value of 2048 can accomodate almost all regular expressions with replacement strings of at least 120 characters. Regular expressions much longer than this are rare. | |||
Increasing the value of this parameter increases the STBL requirements for every request that uses <var>Regex</var> objects, usually by twice the amount of increase (one for each swapped-in object slot allocated). | |||
[[Category:Parameters]] | [[Category:Parameters]] | ||
[[Category:System parameters]] | [[Category:System parameters]] |
Revision as of 21:49, 24 March 2022
STBL size for Regex objects
Summary
- Default value
- 2048
- Parameter type
- System
- Where set
- User 0 parameter line
- Related products
- All
- Introduced
- Model 204 version 7.9
Description
This parameter indicates the amount of STBL to be assigned to each swapped-in Regex object.
When the Regex constructor is invoked, the regular expression string and replacement string are compiled and the original strings and compilations are saved in the STBL part of the object. If the total size of these strings and compilations exceeds REGXSTBL, the request is cancelled.
Since the size of the regular expression and replacement compilation rarely exceed 16 bytes per source character (it's usually less), the default value of 2048 can accomodate almost all regular expressions with replacement strings of at least 120 characters. Regular expressions much longer than this are rare.
Increasing the value of this parameter increases the STBL requirements for every request that uses Regex objects, usually by twice the amount of increase (one for each swapped-in object slot allocated).