Re: A83: Unsquish joke


[Prev][Next][Index][Thread]

Re: A83: Unsquish joke




On 05-Mar-99, Scott Dial (homosapian@geocities.com) wrote:

>Yeah, I did that, but I didn't think that having to have space for
>2*size was very practical.

Ok, then allocate 1*size bytes at the end, distribute the bytes over the
whole area, writing to every other byte. (Start from the end and go towards
the first byte.) Then you can unsquish one byte at a time.

Linus
                                                           \\//
                                                          [o][O]
.-->                                           .-------mm--(__)--mm--------.
| Linus Akesson                                | http://fly.to/linus.world |
`---------------^-- ----- --- --  -- -  -   -  `---------ooO--Ooo----------'
             Fer sail cheep, Windows spel chekcer, wurks grate



Follow-Ups: References: