Re: [Scheme-reports] procedure identity Per Bothner (04 Jun 2013 23:20 UTC)
Re: [Scheme-reports] procedure identity Noah Lavine (05 Jun 2013 04:24 UTC)
Re: [Scheme-reports] procedure identity Per Bothner (05 Jun 2013 06:55 UTC)
Re: [Scheme-reports] procedure identity taylanbayirli@gmail.com (05 Jun 2013 10:40 UTC)
Re: [Scheme-reports] procedure identity Alaric Snell-Pym (05 Jun 2013 11:09 UTC)
Re: [Scheme-reports] procedure identity Andy Wingo (07 Jun 2013 21:23 UTC)
Re: [Scheme-reports] procedure identity Alaric Snell-Pym (07 Jun 2013 22:17 UTC)
Re: [Scheme-reports] procedure identity taylanbayirli@gmail.com (05 Jun 2013 11:18 UTC)
Re: [Scheme-reports] procedure identity John Cowan (05 Jun 2013 12:41 UTC)
Re: [Scheme-reports] procedure identity taylanbayirli@gmail.com (05 Jun 2013 14:02 UTC)

Re: [Scheme-reports] procedure identity taylanbayirli@gmail.com 05 Jun 2013 14:00 UTC

John Cowan <cowan@mercury.ccil.org> writes:

> Taylan Ulrich B. scripsit:
>
>> eq? is a (typically) more efficient eqv?,
>
> I have yet to be convinced that `eq?` actually is more efficient
> than `eqv?` on the safe types.

I suppose type-inference can reduce many uses of eqv? to eq?, and when
inference fails, the difference is merely a dispatch on the type-tag.
It still cannot be as efficient in absolutely all cases though, can it?
Perhaps the total cost of globally substituting eqv? for eq? is not as
big as I would've imagined, given a sufficiently intelligent compiler.

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports