https://slatedb.io logo
Rustaceans, Jason raised a question around how to ...
# general
c
Rustaceans, Jason raised a question around how to handle SkipMap's slices: https://github.com/slatedb/slatedb/pull/280#issuecomment-2452536043 Any pointers are welcome.. /cc @Stu Hood @paulnyc @AsukaMilet
s
almost too simple to mention on the thread, but: ... i think that they can just
clone()
whatever is coming out of the
SkipMap
iterator? it looks like an iterator over `(Bytes, ValueWithAttributes)`: i know that
Bytes
is cheapably clonable, and
ValueWithAttributes
implements
Clone
(although I don't know how cheaply)
c
I put it in the thread 😝