Re: modifying array access syntax
- From: Frode Vatvedt Fjeld <frodef@xxxxxxxxx>
- Date: Fri, 16 Sep 2005 10:24:24 +0200
Kent M Pitman <pitman@xxxxxxxxxxx> writes:
> (a) FUNCALL could have special-cased them [arrays] in a type
> dispatch and
I'd just like to point out that FUNCALL is a hot candidate for
inlining, and increasing its number of cases from 2 to 3 (i.e. from
dealing with functions and symbols to also arrays) might incur
non-negligible costs in terms of code-size, as well as making
FUNCALL's performance more "skewed": for any typecase the earlier
clauses will be faster than the later ones. If there were several
incompatible storage-layouts for arrays (say, simple-vectors,
basic-arrays and displaced-arrays), both problems are exacerbated.
--
Frode Vatvedt Fjeld
.
- Follow-Ups:
- Re: modifying array access syntax
- From: Ray Dillinger
- Re: modifying array access syntax
- From: Kent M Pitman
- Re: modifying array access syntax
- References:
- Re: modifying array access syntax
- From: Ray Dillinger
- Re: modifying array access syntax
- From: Kent M Pitman
- Re: modifying array access syntax
- Prev by Date: Re: async interrupts, without-aborts
- Next by Date: Re: Lisp: 4th Most Frequently Used Language in Debian GNU/Linux
- Previous by thread: Re: modifying array access syntax
- Next by thread: Re: modifying array access syntax
- Index(es):
Relevant Pages
|