Re: Is the following behavior defined by the standard or implementation specific?
- From: "Thomas F. Bur***" <tbur***@xxxxxxxxx>
- Date: Sun, 29 Jul 2007 16:30:52 -0000
On Jul 29, 11:53 am, Pascal Costanza <p...@xxxxxxxxx> wrote:
Thomas F. Bur*** wrote:
Obviously the SBCL interpretation encourages more frequent use of type
declarations; you want to be sure you're not lying when using type
declarations in Allegro. On the other hand, senselessly inserting
type declarations everywhere throughout your code can in certain
situations slow things down with SBCL, if it can't remove some of the
generated assertions.
Shouldn't senseless insertions of type declarations be considered a form
of premature optimization anyway?
Not necessarily premature, but definitely a bad idea. It seems to be
one of the common foolish approaches that Lisp newbies have when
trying to speed up the inner loop of their image processing / dna
sequencing / whatever application.
.
- Follow-Ups:
- References:
- Is the following behavior defined by the standard or implementation specific?
- From: Jason Nielsen
- Re: Is the following behavior defined by the standard or implementation specific?
- From: Thomas F. Bur***
- Re: Is the following behavior defined by the standard or implementation specific?
- From: Pascal Costanza
- Is the following behavior defined by the standard or implementation specific?
- Prev by Date: Re: class creator
- Next by Date: Re: Questions about CLOS
- Previous by thread: Re: Is the following behavior defined by the standard or implementation specific?
- Next by thread: Re: Is the following behavior defined by the standard or implementation specific?
- Index(es):