Replies: 1 comment
-
Right now there isn't. The problem is the interior mutability. The thing is that value stored into model are usually cheap to clone. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found, that on my OS, iterating over 800000 elements in model, took 150ms in debug mode and 30ms in release
I checked implementation and found that there is iterator
that inside row_data implementation clones a value
I suspect, that this
cloned()
may partially be responsible for slow performance.Is there a way to iterate over model, without cloning?
Beta Was this translation helpful? Give feedback.
All reactions