Open robrix opened 6 years ago
@robrix I tried implementing this, but ran into type errors that defeated me. I have a sneaking suspicion that FTCQueue
will still be faster, as FastCatQueue
can be empty, so we'd have to check for the empty case to ensure sanity.
FTCQueue
has worst-case constant-time><
&|>
+ amortized constant timetviewl
.type-aligned
also offersFastCatQueue
with worst-case constant-time><
,|>
,<|
, andtviewl
. We should benchmark them to see how they stack up in practice.