There should be a timeout interval in auto_compile so if less than
some number of milliseconds have passed it won't attempt to recompile.
This prevents multiple auto-compilations when you're loading a page
that loads multiple assets in different requests. You can try to make
it a longer interval. I don't know of any way to make auto compilation
faster. It's fast enough to not bother me though.

Yariv

On Sun, Nov 23, 2008 at 8:16 AM, Michael Mullis
<[EMAIL PROTECTED]> wrote:
>
> Hi all.
> I've been digging down to the slowness when auto_compile set to true
> and it looks like the call to smerl:compile is pretty slow and is
> always being called even if nothing else changed.
> To make matters worse, it gets called multiple times when there is a
> redirect.
> Its in erlyweb_compile:compile/2 near the end.
>
> Everything else seems to be relatively fast so if we could solve this,
> auto_compile would be much more tolerable.
> I've not had time to figure out a solution so if anyone wants to
> contribute, that would be great.
>
> thanks,
> michael.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to