You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tinyvec is necessary because theoretically decompositions and compositions can map to an unbounded number of decomposed # code points. There's probably a small practical limit in what the composition data allows though
Oh, now I see ArrayVec doesn't have any fallible APIs and always panics on overflow. That's not great.
Elsewhere I use heapless::Vec which does provide fallible APIs, and a trait like this to abstract over heapless::Vec and heap-based data structures (really wish something like this were in core):
I'd like to be able to use
is_nfc_quick()/is_nfd_quick()in a context where liballoc isn't available.It looks like the only thing linking
liballocright now istinyvec. Would it be possible to maketinyvecinto an optional dependency?