Open ryansolid opened 3 years ago
I'm interested on improving this, although I was curious as to why the Remove Row
seems to be slower than the keyed version
I had written my own take on the vanillajs implementation
Tho it seems to me that both implementations are just patching elements and not actually replacing them. Is that a valid approach?
Anyways, I didn't saw the note above so I just reworked it a bit.
@LXSMNSYC Would you like to submit a PR for that?
@LXSMNSYC Would you like to submit a PR for that?
It's actually my own take. I didn't try to update both vanillajs and vanillajs-1 due to their select implementation. In a nutshell, my implementation assumes that data and view are both in sync.
That would be fine. You could just submit a new vanillajs implementation and I'd remove the others when I checked that it's the fastest.
I tend to treat that table like it doesn't exist so I haven't looked at it for months (years?), but noticed Remove Rows in the vanilla implementation seems to be slower than a handful of implementations. We should look at improving it.
If anyone in the community familiar with Non-Keyed wants to contribute I think this is a worthwhile effort. Vanilla should be the fastest and without it being so it compromises the value of the particular tests.