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

NewNativeCompactionFilter useful due to slow CGO calls? #154

Open
jiminoc opened this issue Jan 10, 2019 · 0 comments
Open

NewNativeCompactionFilter useful due to slow CGO calls? #154

jiminoc opened this issue Jan 10, 2019 · 0 comments

Comments

@jiminoc
Copy link

jiminoc commented Jan 10, 2019

Can I assume that NewNativeCompactionFilter is in place to allow for a C based implementation of a CompactionFilter due to the fact using the CompactionFilter interface in a Go based filter is extremely slow due to the CGO overhead of calling that Filter for every key you want to potentially filter out?

If that's the case, are there any known examples in the wild or snippets for implementing the C filter in the wild?

thanks!

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

No branches or pull requests

1 participant