Simon

Results 62 comments of Simon

> I think we're not on the same page here. > In this paradigm Taffy holds your id attached to Taffy's NodeData struct. You are right! I misunderstood you example,...

> How are your properties stored? It sounds like you don't have any Nodes - or at least they're not accessible from a key? I have the vdom/reconciler loosely inspired...

I'm sorry if I'm being too pedantic here, happy to change the code they way you think is best.

> How are your properties stored? It sounds like you don't have any Nodes - or at least they're not accessible from a key? Oh, maybe one more relevant data...

> Now that I think about it, what's stopping you from maintaining the SecondarySparseMap yourself? > When you add or remove nodes from taffy, update your secondary map, and then...

Here is a draft how it might look like. I will outline a couple of moments in code inline comments

> How is the measure data stored? I'm not sure I properly understand how or if it is stored at all. Does it not need to be stored? With this...

> I would like to raise the issue of caching here. I imagine a lot of `measure_func`s will want to cache not just the overall result of the computation, but...

I recently integrated text measurements and working with the current API was quite confusing. Specifically there are two challenges with it ## Challenges ### 1. External state that needs to...

Oh, forgot to mention. I think both of the proposed solutions are technically "breaking" changes, thus it might be a good opportunity to take advantage of the new project name...