This repository was archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Optimize FindFirstCharToEncode for JavaScriptEncoder.Default using Ssse3 intrinsics #42073
Merged
GrabYourPitchforks
merged 36 commits into
dotnet:master
from
gfoidl:ImproveEscapingCheck
Nov 3, 2019
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
bb040e0
Use Sse2 instrinsics to make NeedsEscaping check faster for large
ahsonkhan b7dbe9d
Update the utf-8 bytes needsescaping and add tests.
ahsonkhan 405cb89
Merge branch 'master' of https://github.com/dotnet/corefx into Improv…
ahsonkhan f454359
Remove unnecessary bitwise OR and add more tests
ahsonkhan 477b642
Add more tests around surrogates, invalid strings, and characters >
ahsonkhan c6c78a4
NeedsEscaping-check with bitmasks
gfoidl cfacc85
char-input uses byte-codepath
gfoidl ea2a4ba
Minimize overhead
gfoidl 734f92e
Renamed NeedsEscapingSsse3 to CreateEscapingMaskSsse3 to be in sync w…
gfoidl 9cba98a
Added comments for the bit-mask
gfoidl 48c7483
Rewritten to use pointer arithmetic
gfoidl b3732bc
Perf-tuning and processing of the remainder vectorized when above a t…
gfoidl 9fdc85a
Bug fix
gfoidl 0f1ddcb
Move using directive within ifdef to make it clear when its used.
ahsonkhan 887d605
Overhead minimized
gfoidl e8895e0
Add more tests for custom text encoder case.
ahsonkhan 7693801
Fix typo in comment gaurd -> guard
ahsonkhan 590f52a
Merge branch 'master' into ImproveEscapingCheck
gfoidl 51a837f
Fix up the using directives that got removed during merge conflict
ahsonkhan fdc254c
Applied code from iteration in S.T.Json to S.T.E.Web
gfoidl a513077
TextEncoder.DoesAsciiNeedEncoding reduced to plain lookup
gfoidl 4766c0f
Removed System.Runtime.Intrinsics from S.T.Json
gfoidl 3c5127a
Fixed build-failure
gfoidl af841ec
Revert "TextEncoder.DoesAsciiNeedEncoding reduced to plain lookup"
gfoidl 2cbc2a2
Fixed netfx build failure and PR feedback
gfoidl 9419ff4
Fixed bug with null-ptr
gfoidl 3d03226
Reduce overhead
gfoidl 2a64063
Address feedback - fix 0x7F case, rename vectors to be self-documenting.
ahsonkhan 4c18251
Merge remote-tracking branch 'remotes/ahsonkhan/AddTextEncoderTests' …
gfoidl 3b6659b
Renamed mask vectors to be on par with Sse2Helper
gfoidl 2c68710
Removed AggressiveInlining from FindFirstCharacterToEncode
gfoidl e412e1e
Reduced overhead
gfoidl a0b9a69
PR Feedback
gfoidl cad3cb6
Better code for "not equal to zero" in Ssse3Helper
gfoidl 1efba41
PR feedback
gfoidl 033ed82
Merge branch 'master' into ImproveEscapingCheck
gfoidl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.