https://bugzilla.wikimedia.org/show_bug.cgi?id=57394

--- Comment #8 from Inez KorczyƄski <i...@wikia-inc.com> ---
(In reply to comment #7)
> I suggest we first do a refactor to use uniformly use:
>   DU.data(node)
> for getters, and maybe
>   DU.data(node, new_data)
> for setters?
> 
> Then we can easily experiment with/bikeshed different implementations of
> DU.data() under the hood -- first probably using a new 'parsoid-data' or
> 'dataobject' attribute, then later benchmarking against using an external map
> keyed on id, or an es6 weak map, or an es6 private field, etc.

This plan sounds good to me. I could work on that. Gabriel: Could you confirm
that you are ok with that solution?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to