Overview
| Artifact ID: | 2d46bdf369460516c373fd63d645a3d0b07e7489 |
|---|---|
| Ticket: | 2992970fffffffffffffffffffffffffffffffff
Slow performance of [append] |
| User & Date: | dkf on 2010-04-29 22:11:32 |
Changes
- icomment:
OK, problem was that the code in Tcl_AppendObjToObj did not apply any kind of growth management strategy to bytearrays, despite the fact that the internal rep contained support for such a thing. Updating the code to have such a thing makes *my* Tcl build able to tackle building a 250MB bytearray a few bytes at a time in only a few seconds (about 7.5s!) This is now quite a bit faster than 8.5 (on smaller tests; could not be bothered with larger ones. :-)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"