On Feb 18, 2013, at 6:28 PM, Ryosuke Niwa <rn...@webkit.org> wrote:

> I had the same question when I found this class today but when I tried to 
> turn it into a function, I realized that each caller of this function now 
> needs to maintain two variables instead of one. Since those two variables 
> (node and distributedNode) need to be in a consistent state, I've thought of 
> creating a state object but then it seemed silly to create a state object 
> only and a free function. It's much more natural for it be just a "walker" 
> class.

Does it? Is it really necessary to have the distributed node state or is that 
just performance optimization?

-- Darin
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to