[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MIT-Scheme-devel] string-head!
From: |
Chris Hanson |
Subject: |
Re: [MIT-Scheme-devel] string-head! |
Date: |
Thu, 24 Sep 2009 13:03:02 -0700 |
Yeah, this is my fault. I'm unhappy calling out to primitives for
extremely simple cases like this.
On Thu, Sep 24, 2009 at 12:59 PM, Taylor R Campbell <address@hidden> wrote:
> I'd be a lot more comfortable if the run-time system and compiler (and
> everything else needed for cross-compilation -- SF, *parser, &c.)
> didn't exhibit this subtle issue. In any case, I thought the point of
> STRING-HEAD! was to reduce pressure on the garbage collector, not to
> reduce the time spent switching between Scheme land and C land, and we
> can reduce pressure on the garbage collector just by using the
> primitive SET-STRING-MAXIMUM-LENGTH! if it's available.
>
> Sorry for belabouring this point -- I just don't want to get bitten by
> this later on, e.g. if someone ever changes anything in the compiler
> to use string ports.
>
- [MIT-Scheme-devel] string-head!, Taylor R Campbell, 2009/09/24
- Re: [MIT-Scheme-devel] string-head!, Joe Marshall, 2009/09/24
- Re: [MIT-Scheme-devel] string-head!, Chris Hanson, 2009/09/24
- Re: [MIT-Scheme-devel] string-head!, Taylor R Campbell, 2009/09/24
- Re: [MIT-Scheme-devel] string-head!,
Chris Hanson <=
- Re: [MIT-Scheme-devel] string-head!, Joe Marshall, 2009/09/24
- Re: [MIT-Scheme-devel] string-head!, Chris Hanson, 2009/09/24
- Re: [MIT-Scheme-devel] string-head!, Taylor R Campbell, 2009/09/24
- Re: [MIT-Scheme-devel] string-head!, Joe Marshall, 2009/09/24