proposal: duplicate tracking

50 views
Skip to first unread message

Jeff Smits

unread,
May 26, 2014, 5:28:13 AM5/26/14
to elm-discuss
A few weeks ago I had an idea for a simple optimisation in Elm. But I didn't have time to work it out so I wrote a note with the idea and moved on.
Two days ago I found the note I figured the least I could do was write it down and share it here :)
So I wrote it down.

I think this should be pretty easy to add this to the current Elm implementation and will mostly be adapting some JavaScript. But I don't have time to do it myself.
I'll be happy to answer any questions on this proposal though.

Jeff Smits

unread,
May 30, 2014, 4:39:51 AM5/30/14
to elm-discuss
Since there weren't any takers I figured I'd do it myself (even though I said I wouldn't), mostly because I had in mind that it would take like two hours to fix. Silly me, trying to estimate the time it takes... Naturally it took a little more time (and effort) than that. But I'm pretty happy with how the changes are only to the Signal.js file.

Anyway, now I'm looking for example Elm programs that improved a lot in performance when you added a dropRepeats (to test if duplicate tracking is helping). 
I also need a fresh pair of eyes to look at the changes I've made in the Elm runtime, see if I didn't mess anything up.
Can anyone help me with either of those two things?
Reply all
Reply to author
Forward
0 new messages