[racket-dev] swapping `unsafe-vector-ref' and `unsafe-vector*-ref'

From: Doug Williams (m.douglas.williams at gmail.com)
Date: Tue Oct 26 16:15:29 EDT 2010

Thank you guys. The current science collection and FFT routines work again
with the latest pre-release from last night. It did save me quite a bit of
rework. Sorry for the inconvenience to you.

Doug

On Mon, Oct 25, 2010 at 3:38 PM, Eli Barzilay <eli at barzilay.org> wrote:

> Four hours ago, Matthew Flatt wrote:
> > I've pushed a change (intended to be merged to 5.0.2) that
> > swaps
> >
> >  `unsafe-vector-ref'    <-> `unsafe-vector*-ref'
> >  `unsafe-vector-set!'   <-> `unsafe-vector*-set'
> >  `unsafe-vector-length' <-> `unsafe-vector*-length'
> >  `unsafe-unbox'         <-> `unsafe-unbox*'
> >  `unsafe-set-box!'      <-> `unsafe-set-box*!'
> >  `unsafe-struct-ref'    <-> `unsafe-struct*-ref'
> >  `unsafe-struct-set!'   <-> `unsafe-struct*-set'
> >
> > I tried to change all uses in the repository, but the patch needs lots
> > of eyes and testing.
> >
> > Otherwise, all existing uses of the starred operation are now broken,
> > and they need to be changed to unstarred operations.
>
> I've started a new release build with the change.  (Doesn't it require
> a new version too?)
>
> When it's done, it's probably a good idea for people who use contracts
> heavily to re-test.
>
> --
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                    http://barzilay.org/                   Maze is Life!
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20101026/151810dd/attachment.html>

Posted on the dev mailing list.