unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Julian Graham <joolean@gmail.com>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: [PATCH] Performance improvement for R6RS records
Date: Sun, 19 Sep 2010 11:28:49 -0400	[thread overview]
Message-ID: <AANLkTi=Ruab2rki0FqY4o+02UF-gU0GEA9nwVL+_hA5q@mail.gmail.com> (raw)
In-Reply-To: <m3lj6yqapd.fsf@unquote.localdomain>

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


Regards,
Julian



  reply	other threads:[~2010-09-19 15:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-19  0:20 [PATCH] Performance improvement for R6RS records Julian Graham
2010-09-19 10:39 ` Andy Wingo
2010-09-19 15:28   ` Julian Graham [this message]
2010-09-20  7:20     ` Andy Wingo
2010-09-27 20:05       ` Andy Wingo
2010-10-04 13:48         ` Julian Graham
2010-10-04 19:09           ` Andy Wingo
2010-10-10  5:46             ` Julian Graham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=Ruab2rki0FqY4o+02UF-gU0GEA9nwVL+_hA5q@mail.gmail.com' \
    --to=joolean@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).