On Sun 19 Sep 2010 17:28, Julian Graham <jool...@gmail.com> writes:

>> 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 5.6.9.4?

No not really; just that record-types should be instances of
record-type-vtable, which itself is a normal vtable (not a
vtable-vtable).

Will elaborate later, have to run out the door :)

A
-- 
http://wingolog.org/

Reply via email to