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

buffer: optimize decoding wrapped base64 data #12146

Closed
wants to merge 1 commit into from

Commits on Mar 31, 2017

  1. buffer: optimize decoding wrapped base64 data

    The fast base64 decoder used to switch to the slow one permanently when
    it saw a whitespace or other garbage character.  Since the most common
    situation such characters may be encountered in is line-wrapped base64
    data, a more profitable strategy is to decode a single 24-bit group with
    the slow decoder and then continue running the fast algorithm.
    
    Refs: nodejs#12114
    aqrln committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    ff77c72 View commit details
    Browse the repository at this point in the history