Input reuse on base64 by ThePseudo · Pull Request #8587 · uutils/coreutils
Andrea Calabrese added 2 commits
Base64: the function has_padding reads the file and then discards it. The functions fast_encode and fast_decode re-read the file, providing significant delay in larger files. This commit also reduces the amount of computation done inside the fast_decode function. In the next commit there will be the fix for the fast_decode function Signed-off-by: Andrea Calabrese <andrea.calabrese@amarulasolutions.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters