From: Mark H Weaver <mhw@netris.org>
To: Panicz Maciej Godek <godek.maciek@gmail.com>
Cc: "guile-user@gnu.org" <guile-user@gnu.org>
Subject: Re: scm_remember_upto_here
Date: Sat, 20 Apr 2013 13:18:20 -0400 [thread overview]
Message-ID: <87mwstazoj.fsf@tines.lan> (raw)
In-Reply-To: <CAMFYt2YcEhTMwAwnmRxqXDP+t37qDi6LUn1gL_U5jJKjmQkGPw@mail.gmail.com> (Panicz Maciej Godek's message of "Sat, 20 Apr 2013 14:54:39 +0200")
Panicz Maciej Godek <godek.maciek@gmail.com> writes:
> I recently ran into a definition of scm_remember_upto_here function
> defined for arbitrary number of arguments.
> According to the comment near its definition in libguile/gc.c, it does
> work. However in guile's documentation only scm_remember_upto_here_1
> and scm_remember_upto_here_2 are mentioned.
> Is it ok to use the variant of the procedure defined for arbitrary
> number of arguments despite it being undocumented?
It should be okay, but it will force a procedure call through the shared
library PLT, which is fairly expensive. If I were you, I would limit
myself to 'scm_remember_upto_here_1' and 'scm_remember_upto_here_2',
because those are implemented more efficiently using macros on gcc.
Mark
prev parent reply other threads:[~2013-04-20 17:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-20 12:54 scm_remember_upto_here Panicz Maciej Godek
2013-04-20 17:18 ` Mark H Weaver [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=87mwstazoj.fsf@tines.lan \
--to=mhw@netris.org \
--cc=godek.maciek@gmail.com \
--cc=guile-user@gnu.org \
/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).