You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Our current implementation is highly stateful, and it is difficult to reason about the order or timing of state transitions. This has given rise to pattern of issues where tiles either never finish parsing or are parsed ad infinitum:
We need a way of making tiles subscribe to the resources they need and get notified when they arrived. And I'm all in for getting rid of tile states as they are today. They will probably still exist, but IMO they could be inferred at runtime.
Activity
kkaefer commentedon Oct 29, 2015
What aspect of it is causing problems for you?
jfirebaugh commentedon Oct 29, 2015
Our current implementation is highly stateful, and it is difficult to reason about the order or timing of state transitions. This has given rise to pattern of issues where tiles either never finish parsing or are parsed ad infinitum:
These issues are often very difficult and time consuming to debug.
Yet despite its complexity, our current strategy is still inefficient:
I'm not sure what the right approach is yet, however.
tmpsantos commentedon Oct 29, 2015
We need a way of making tiles subscribe to the resources they need and get notified when they arrived. And I'm all in for getting rid of tile states as they are today. They will probably still exist, but IMO they could be inferred at runtime.
kkaefer commentedon May 25, 2016
Partially addressed by #5139
tmpsantos commentedon May 30, 2016
👍
jfirebaugh commentedon Sep 16, 2016
Lots of refactoring here lately. Fixing #667 will likely fix #2511 and then things will be pretty clean.