Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2023-04-26
15:46 • Closed ticket [0f98bce669]: string commands do not work with lengths > MAX_IN... artifact: 1ddcaf0844 user: apnadkarni
15:45
Test fix for [0f98bce669] check-in: ba42b33cb0 user: apnadkarni tags: trunk, main
2022-11-18
06:09 • Ticket [0f98bce669] string commands do not work with lengths > MAX_INT st... artifact: d30e44960b user: apnadkarni
2022-11-03
17:16 • Ticket [0f98bce669]: 3 changes artifact: ade80f4ee4 user: apnadkarni
12:26
Bug [0f98bce669]. Fix limits for string replace. check-in: 997d8c2052 user: apnadkarni tags: trunk, main
2022-11-02
16:57 • Ticket [0f98bce669] string commands do not work with lengths > MAX_INT st... artifact: 0d10d43025 user: apnadkarni
15:59 • Ticket [0f98bce669]: 3 changes artifact: cdc12063ac user: apnadkarni
15:26 • Ticket [0f98bce669]: 3 changes artifact: 9beb105ce4 user: apnadkarni
15:20 • New ticket [0f98bce669]. artifact: d8252c4694 user: apnadkarni

string commands do not work with lengths > MAX_INT

Closed / Fixed0f98bce6691fdb7f73a94b3c789230bbfb9bfe31Created 4 years agoUpdated 4 years ago
Descriptionmarkdown2022-11-02 15:20:54

The following string commands and do not work with lengths longer than MAX_INT: string repeat, string cat, string replace, may be others.

Working on the fix.

Referenced by2
apnadkarni Ticket [0f98bce669]: 3 changes [History diff]2022-11-02 15:26:29
apnadkarniplain2022-11-02 15:59:30
Fixed string repeat. Test cases pending. Working on string cat.
apnadkarni Ticket [0f98bce669]: 3 changes [History diff]2022-11-02 16:57:53
apnadkarniplain2022-11-03 17:16:02
Fixed string replace/cat. Tests remaining.
apnadkarniplain2022-11-18 06:09:43
string cat is also fixed.

However, even a simple test takes too long to run (minutes) so not sure whether they should be added to the test suite. (Also raises the issue of how useful raising memory limits is going to be in practice if manipulating data of that size is so slow. But that's another question.)
apnadkarniplain2023-04-26 15:46:13
Fixed in [ba42b33cb0]
Log in (anonymous is fine) to add a comment.