-
Notifications
You must be signed in to change notification settings - Fork 853
Add uhydro keyed #899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add uhydro keyed #899
Conversation
Hi @Krutsch,
Can you please check uhydro's behaviour for swap rows? |
@krausest It is definitely keyed. However, it is not moving the complete row, but only the elements inside, that have some state bound to them β which is the first I can see that your test suite is expecting the row to move (which is not necessary in my case). If you would agree that this is fair, then I could update this test to check whether the elements inside moved? |
I'm not sure whether others will share this view. From looking at the code the swap operation looks rather imperative (at least close to #772) by explicitly telling uhydro what data update to perform instead of relying on a comparison of the rows keys. |
I don't quite follow. This is the written user code:
What happens under the hood is that I check my own data structures, get all the nodes that map to the data and do the necessary operations for the elements. This is not tailored for this test π€. EDIT: Pinging @ryansolid to get another opinion whether moving partial elements inside the |
The implementation on the surface looks fine codewise. The most suspect piece is But maybe this is all beside the point. The |
Right: If you select the second row and then swap the rows, the selection background stays on the row in the second position, which is incorrect. |
OK, This is now using a normal swap operation. Also, it will swap the |
WIth
|
Thanks! Results are updated. |
Hello again π
Kind of feel unsettled submitting a second library to the benchmark suite, but here we are.
(I promise it is the last)
EDIT: Oops-a-daisy, the swap is not keyed, brb to fixβ