On Sat, Mar 21, 2009 at 8:59 AM, Alexander Kellett <lypa...@gmail.com>wrote:
> > On Sat, Mar 21, 2009 at 4:49 PM, David Pollak > <feeder.of.the.be...@gmail.com> wrote: > > On Sat, Mar 21, 2009 at 7:24 AM, Alexander Kellett <lypa...@gmail.com> > >> unfortunately, as scala:cc is polling rather than using a filesystem > >> notifier, the latency between file modification and .class update is > >> huge. > > > > This is almost all compilation time. On my Linux box, I put the > terminate > > next to my IDE and I can see the compilation process start as soon as I > hit > > save. > > Compiling Scala code just plain takes a lot of time. Especially if > you've > > got a lot of functions in a file (e.g., a parser combinator) where > compile > > times for a single file may be > 30 secs and result in thousands of class > > files. > > ah, my test case wasn't really a good one. for the helloworld snippet > example i'm seeing a (visible) ~1 second pause, then a compile taking > roughly 750ms. > > whats the feasibility of making lift block? It's not a high priority for us to spend a lot of time with classloader magic to try to figure out what source files relate to which class files which may or may not be loaded or changed. So, it's unlikely to happen any time soon. > > > Alex > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---