Insire
Insire
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
that obviously falls apart, if your nodes are not unique
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
folders are nodes and leafs, while files are only leafs
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
imagine a file path on the filesystem
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
meaning that to get to every leaf on every node, there is a as unique "path" of nodes to follow to get there, from the root of the tree
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
well, in my imagination, every node in the tree is unique
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
even if its concurrent
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
anyway, 10k entries in a dictionary should be fine
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
sorry, i often forget negations when chatting
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
im saying build an other abstraction for updating it
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
im not saying you should abandon the tree
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
e.g. a dictionary, where the path in your tree is the key perhaps
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
maybe build a flat (persistant?) datastructure, that your tree can consume? updating a flat list is faster than updating a tree
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
i'd want to avoid having that problem. is that an actual requirement?
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
nice, that makes it easier
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
it really depends on if you want to be able to merge DTOs that are meant for the same entity and whether the entity needs to see every change that happened
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
and then you can either take that DTO, remove it from some queue, or just get a copy and apply that where required
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
a DTO would represent a set of changes that need to be made to a certain object
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
i'd probably try using DTOs then
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
if you are updating your UI via bindings, then its just a matter of keeping a concurrentdictionary of propertychangedargs + the thing that raised them around
33 replies
CC#
Created by RazorSharpFang on 12/2/2024 in #help
Spatial Display and asynchronous updates for desktop Gui app
the best possible performance, would probably be to batch update + possible polling for changes made on/by other threads
33 replies