Skip to content

matchTextChunk: combine a) and b) cases#23083

Merged
2 commits merged into
masterfrom
matchTextChunk_ab
Apr 3, 2018
Merged

matchTextChunk: combine a) and b) cases#23083
2 commits merged into
masterfrom
matchTextChunk_ab

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Apr 2, 2018

These are basically the same since if chunk.text.length === candidate.length, startsWith(candidate, chunk.text) is the same as candidate === chunk.text.

@ghost ghost force-pushed the matchTextChunk_ab branch from ef380a7 to 5da8ed9 Compare April 2, 2018 19:26
@ghost ghost requested a review from mhegazy April 2, 2018 20:05
@ghost ghost merged commit 92dfde0 into master Apr 3, 2018
@ghost ghost deleted the matchTextChunk_ab branch April 3, 2018 01:09
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant