Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.