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

Avoid the use of a local window when splitting #70

Closed
wants to merge 1 commit into from

Commits on Sep 24, 2022

  1. Avoid the use of a local window when splitting

    The splitting code in `bupsplit.c` was written as if it had to handle
    the case where bytes were fed one by-one, but it actually gets the whole
    data chunk: there's no need to copy to a local window, when we have the
    original data available: we can simply use the passed data to fetch the
    byte that is leaving the current window.
    
    Additionally, try to use __builtin_ctz for filling in the bits ptr, if
    it is available.
    
    Signed-off-by: Zachary Dremann <dremann@gmail.com>
    Dr-Emann committed Sep 24, 2022
    Configuration menu
    Copy the full SHA
    3c242b2 View commit details
    Browse the repository at this point in the history