[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: matrix operations and temporary objects?
- From: Leo Razoumov <slonik.az@...>
- Date: Tue, 4 Aug 2009 06:00:02 -0400
On 8/3/09, Mike Pall <mikelu-0908@mike.de> wrote:
> Leo Razoumov wrote:
> > Is it possible to do something in Lua and somehow control use of
> > temporary objects when dealing with typical +-*/ math operations in
> > Lua?? The underlying math library API is of the older variety and
> > expects user to do all the resource allocations.
>
>
> This paper might give you further ideas and has more references:
>
> http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.30.4562
>
> E. Christopher Lewis, Calvin Lin, and Lawrence Snyder,
> "The Implementation and Evaluation of Fusion and Contraction
> in Array Languages", PLDI '98
>
>
> --Mike
Interesting paper, indeed. But implementing array fusion will require
massive changes to Lua code itself. I was hoping to be able to manage
temporaries within standard lua and luajit. I am afraid it is not
possible.
--Leo--