Hi everyone,

I am currently developing some functionality that get triggered on 
mousemove. I do not have any speed issue now so I am not trying to optimize 
things that do not need optimization right now ^^. But this work made me 
curious about how code is optimized in elm. In this blog post [1] 
<http://elm-lang.org/blog/blazing-fast-html-round-two> Evan says that Elm 
uses requestAnimationFrame by default. I wonder what this means. Does this 
mean that all events are "filtered" to trigger only once per frame ? (for 
example the mousemove?) or is it specific to virtualdom since this post was 
about that. If not, what do you think would be a suitable strategy?

[1] http://elm-lang.org/blog/blazing-fast-html-round-two

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to