On 12/19/2012 07:37 PM, mfl...@racket-lang.org wrote:
aa08a68 Matthew Flatt <mfl...@racket-lang.org> 2012-12-19 18:30
:
| add phantom byte strings
|
| A phantom byte string is a small object that the memory
| manager treats as an arbitrary-sized object, where the
| size is specified when the phantom byte string is created
| or or when size is changed via `set-phantom-bytes!'.

Cool! I can use this to allow MPFR to manage the memory for limbs instead of playing crazy finalizer tricks. (I'll still need a finalizer, but it'll be straightforward instead of being a major head-scratcher.)

Neil ⊥

_________________________
 Racket Developers list:
 http://lists.racket-lang.org/dev

Reply via email to