terminal/.github/actions/spell-check/patterns
Michael Niksa ea2bd42ff4
Set memory order on slow atomics (#6920)
By default, the memory order on atomics is `seq_cst`. This is a relatively expensive ordering and it shows in situations where we're rapidly signaling a consumer to pick up something from a producer. I've instead attempted to switch these to `release` (producer) and `acquire` (consumer) to improve the performance of these signals. 

## Validation Steps Performed
- Run `time cat big.txt` and `time cat ls.txt` under VS Performance Profiler. 

## PR Checklist
* [x] Closes perf itch
* [x] I work here
* [x] Manual test
* [x] Documentation irrelevant.
* [x] Schema irrelevant.
* [x] Am core contributor.
2020-07-17 17:11:45 +00:00
..
0_n.txt ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
0_r.txt ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
0_t.txt ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
patterns.txt Set memory order on slow atomics (#6920) 2020-07-17 17:11:45 +00:00
README.md ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00

The contents of each .txt file in this directory are merged together. Each line is a Perl 5 regular expression. Nothing is guaranteed about the order in which they're merged. -- If this is a problem, please reach out.

Note: order of the contents of these files can matter. Lines from an individual file are handled in file order. Files are selected in alphabetical order.

  • n, r, and t are specifically to work around a quirk in the spell checker: it often sees C strings of the form "Hello\nwerld". And would prefer to spot the typo of werld.
  • patterns is the main list -- there is nothing particularly special about the file name (beyond the extension which is important).