[Prev][Next][Index][Thread]

Re: Re[2]: Dylan performance



In article <ljg56tg7qhrp1pv43gj203fe0h35q9mj3c@4ax.com>,
  Jason Trenouth <jason@harlequin.co.uk> wrote:
> On Sun, 14 Jan 2001 16:15:02 -0500 (EST), oodl@my-deja.com wrote:
>
> > By the way, when t1 and t2 are defined at the top level like this:
> >
> > define constant t1 = make(<float-array>, dimensions: list(300, 300),
> > fill: 0.0);
> > define constant t2 = make(<float-array>, dimensions: list(300, 300),
> > fill: 0.0);
> >
> > it is evident from the dispatch coloring, that Function Developer is
not
> > optimizing the array accesses.
>
> Try adding " :: <float-array>" to the declarations in the above case.
It
> turns all grey then.
>
> __Jason
>

But why is the ":: <float-array>" type specification necessary for a
constant?  It seems like the compiler's optimizer should be smart enough
to figure that out.


Sent via Deja.com
http://www.deja.com/



Follow-Ups: References: