[Top][All Lists]

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

Re: [PATCH] Performance improvement for R6RS records

From: Julian Graham
Subject: Re: [PATCH] Performance improvement for R6RS records
Date: Sun, 19 Sep 2010 11:28:49 -0400

Hey Andy,

> Is it possible to keep the current flat record layout, and change this
> check to be:
>  (define (record-internal? obj)
>    (and (struct? obj)
>         (eq? (struct-vtable (struct-vtable obj))
>              record-type-vtable)))
> What kind of performance do you get there?

I'm probably misunderstanding things, but this code doesn't work for
me -- I think there are some other modifications that'd be necessary.
I'm guessing you're proposing something along the lines of using
Vtable Vtables, as described in manual section


reply via email to

[Prev in Thread] Current Thread [Next in Thread]