Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark FTCQueue against FastCatQueue #30

Open
robrix opened this issue Apr 2, 2018 · 1 comment
Open

Benchmark FTCQueue against FastCatQueue #30

robrix opened this issue Apr 2, 2018 · 1 comment

Comments

@robrix
Copy link
Collaborator

robrix commented Apr 2, 2018

FTCQueue has worst-case constant-time >< & |> + amortized constant time tviewl. type-aligned also offers FastCatQueue with worst-case constant-time ><, |>, <|, and tviewl. We should benchmark them to see how they stack up in practice.

@patrickt
Copy link
Collaborator

patrickt commented May 2, 2018

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants