[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58669: 28.2; bindat: str and strz not operating on vectors
From: |
Stefan Monnier |
Subject: |
bug#58669: 28.2; bindat: str and strz not operating on vectors |
Date: |
Fri, 21 Oct 2022 14:34:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> `append` takes the vector, turns it into a list (thus allocating N cons
>> cells), then `apply` turns the list back into an on-stack "vector", and
>> all of that just to create a 4x or 8x smaller string. It's silly.
>
> It gets the job done, doesn't it?
Indeed, there's a way, but there isn't a *good* way,
Stefan