terminal/src/terminal/parser/ut_parser
Leonard Hecker 9aa4a115aa
Improve Base64::Decode performance (#11467)
This commit renames `Base64::s_Decode` into `Base64::Decode` and improves its
average performance on short strings of less than 200 characters by 4.5x.
This is achieved by implementing a classic base64 decoder that reads 4
characters at a time and produces 3 output bytes. Furthermore a small
128 byte lookup table is used to quickly map characters to values.

## PR Checklist
* [x] I work here
* [x] Tests added/passed

## Validation Steps Performed
* Run WSL in Windows Terminal
* Run `printf "\033]52;c;aHR0cHM6Ly9naXRodWIuY29tL21pY3Jvc29mdC90ZXJtaW5hbC9wdWxsLzExNDY3\a"`
* Clipboard contains `https://github.com/microsoft/terminal/pull/11467` ✔️
2021-10-26 21:30:25 +00:00
..
Base64Test.cpp Improve Base64::Decode performance (#11467) 2021-10-26 21:30:25 +00:00
InputEngineTest.cpp Pass through double clicks and hover events in Win32 mouse mode (#10138) 2021-05-24 17:24:28 +00:00
OutputEngineTest.cpp Improve Base64::Decode performance (#11467) 2021-10-26 21:30:25 +00:00
packages.config Enable /Zc:preprocessor (#10593) 2021-07-13 23:00:11 +00:00
Parser.UnitTests.vcxproj Change TAEF nuget package to use new Microsoft.Taef name; Update to 10.58 release build version. (#9656) 2021-03-30 10:58:11 +00:00
Parser.UnitTests.vcxproj.filters Update TAEF to 10.57.200731005-develop (#7164) 2020-08-03 20:47:02 +00:00
product.pbxproj Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
run.bat Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
sources Merged PR 5445070: [Git2Git] Update the Windows build for some shell changes 2020-12-16 01:32:35 +00:00
StateMachineTest.cpp Introduce a mechanism for passing through DCS data strings (#9307) 2021-04-30 19:17:30 +00:00
testmd.definition Integrate inbox changes up to 68d3b53286dd 2019-12-02 17:24:26 -08:00