[plt-scheme] implementation benefits of immutable pairs

From: Martin DeMello (martindemello at gmail.com)
Date: Thu Jun 12 14:04:05 EDT 2008

On Thu, Jun 12, 2008 at 11:02 AM, Jens Axel Soegaard
<jensaxel at soegaard.net> wrote:
> Martin DeMello skrev:
>>
>> Does making pairs immutable offer any potential for compiler
>> optimisations? Or is it just a matter of greater code correctness?
>>
>
> http://blog.plt-scheme.org/2007/11/getting-rid-of-set-car-and-set-cdr.html

I read that, but it seems at least intuitively possible that
once you've crossed that bridge, you get a range of compile-time
optimisations available to you. Googled around a bit, but couldn't
find any papers on the topic.

martin


Posted on the users mailing list.