-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Deprecated bufferless and block level APIs #3534
Deprecated bufferless and block level APIs #3534
Conversation
250b661
to
9d8962c
Compare
I'm just wondering if the It seems we just want to avoid their invocation directly from user space, In which case, would another suffix be more appropriate ? like |
I chose deprecated because half of these functions already had an Though I'm fine with a different prefix that is neither |
I understand your point. On my side, I'm concerned that And now it becomes a case-by-case analysis, So let me get into this kind of details for you.
|
Sounds good, I'll rename the functions |
@Cyan4973 How about |
9d8962c
to
8317dd8
Compare
That's fine by me. |
8317dd8
to
71670f9
Compare
* Mark all bufferless and block level functions as deprecated * Update documentation to suggest not using these functions * Add `_deprecated()` wrappers for functions that we use internally and call those instead
_deprecated()
wrappers for functions that we use internally and call those insteadI've left the buffer-less decompression API as-is, because I feel that it is less risky to use, since the decompression code is simpler, and is changed less often. Additionally, this is where the additional copies the streaming API does has a bigger impact. I think we should still deprecate it, but maybe we do want a replacement before we do so. Up for debate.