Re: Lush2 performance

Ralf Juengling <[email protected]> Sun, 15 Mar 2009 10:39:39 -0700 (PDT)
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
Not sure if it solves the problem, but I added a new
form 'with-nogc' which temporarily blocks garbage
collections. Should work when the number of allocations
in the loop is within reasonable limits.

You can do a similar thing in C (see the implementation
of with-nogc in toplevel.c).

Ralf


On Wed, 11 Mar 2009, Yann LeCun wrote:

> One problem with a single thread implementation of
> course is that it pretty much precludes the use
> of Lush 2.0 for any semi-real-time application
> like robotics or games. For these applications
> you want a repeatable run time for a loop, and
> can't afford to have the system sit around and do
> garbage collection once in a while.
> 
> So, maintaining the option to spawn a separate
> thread for GC might be a good idea.
>
>  -- Yann
>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com