[elm-discuss] Re: Noticeable lag when working with a model that contains large dataset

2017-04-03 Thread David Legard
Might it also be quicker to put the Parent -> Child link in the Child element? That way you avoid Lists in your definition type alias Parent = { id: Int , title: String } type alias Child = { id: Int , title: String , ancestor: Parent } A further step could be to com

[elm-discuss] Re: Noticeable lag when working with a model that contains large dataset

2017-04-03 Thread Jais Cheema
I saw that behaviour too but I think thats understandable because it would have to render the data in the debugger window in a new node. I was seeing pretty bad performance so that was the first thing I turned off 😀 On Tuesday, April 4, 2017 at 3:31:24 AM UTC+10, Ian Mackenzie wrote: > > Is the

[elm-discuss] Re: Noticeable lag when working with a model that contains large dataset

2017-04-03 Thread Ian Mackenzie
Is the issue specific to when running in debug mode (when using Elm Reactor or compiling with --debug), by any chance? I recently encountered an issue where the debugger will scan through the entire model after every update, which is quite slow if there are large data structures in the model. I