[Haskell-cafe] Re: Memory efficiency questions for real-time graphics

Neal Alexander wqeqweuqy at hotmail.com
Sat Nov 1 03:15:21 EDT 2008


Even when generating one or more copies of "world" per frame the 
performance stays fine and allocations are minimal. From what ive seen, 
the OpenGL calls are whats going to bottle neck.


loop (time, space)


where

   loop = loop <=< runKleisli action

      where

         action = (ChronoSync.sync *** syncExternal channel)

                   >>> Space.update
                   >>> display
                   >>> ChronoSync.yieldCPU



More information about the Haskell-Cafe mailing list