From: ludovic.courtes@laas.fr (Ludovic Courtès)
To: Kevin Ryde <user42@zip.com.au>
Cc: guile-devel@gnu.org
Subject: Re: Optimizing record accessors
Date: Tue, 21 Aug 2007 09:58:51 +0200 [thread overview]
Message-ID: <87ps1h9v44.fsf@laas.fr> (raw)
In-Reply-To: <874pitvjbr.fsf@zip.com.au> (Kevin Ryde's message of "Tue\, 21 Aug 2007 10\:10\:16 +1000")
Hi,
Kevin Ryde <user42@zip.com.au> writes:
> Gets rid of one scheme function call in the normal case does it?
Two calls, because `record-type-check' called `record-type-descriptor'.
> I expect an apply-able smob thingie would be fastest (and smaller too)
> for accessors and modifiers, if anyone felt like going down that track.
> Probably quite worthwhile on the general principle of getting low-level
> bits running fast.
Yes, probably the right solution. I thought about it but then didn't
feel like writing C. ;-)
> As long as it's still `wrong-type-arg' it ought to be ok.
It was either `wrong-type-arg' or `not-a-record', which was not
documented. Now, it's always `wrong-type-arg'.
Thanks,
Ludovic.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
prev parent reply other threads:[~2007-08-21 7:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-07 15:00 Optimizing record accessors Ludovic Courtès
2007-08-08 15:08 ` Ludovic Courtès
2007-08-21 0:10 ` Kevin Ryde
2007-08-21 7:58 ` Ludovic Courtès [this message]
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=87ps1h9v44.fsf@laas.fr \
--to=ludovic.courtes@laas.fr \
--cc=guile-devel@gnu.org \
--cc=user42@zip.com.au \
/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).