Overview
| Artifact ID: | 1dee5e9725cb572d761275f2400244c5a00ae0c2 |
|---|---|
| Ticket: | 3067036fffffffffffffffffffffffffffffffff
Appending to 0-length byte array causes busy loop. |
| User & Date: | andreas_kupries on 2010-09-16 00:58:11 |
Changes
- icomment:
Interesting. I remember seeing a different place where memory doubling was done which did things a bit differently: It doubled the length of the "requested" space, not the current one. As 'requested > allocated' this could never be 0. ... Remembering more, that was somewhere in appending to a list. I guess the "appending to string/bytearray" should be rewritten to the same scheme.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"