terminal/.github/actions/spell-check/dictionary
Michael Niksa 3a91fc0ab4
Skip DX invalidation if we've already scrolled an entire screen worth of height (#6922)
We spend a lot of time invalidating in the DX Renderer. This is a
creative trick to not bother invalidating any further if we can tell
that the bitmap is already completely invalidated. That is, if we've
scrolled at least an entire screen in height... then the entire bitmap
had to have been marked as invalid as the new areas were "uncovered" by
the `InvalidateScroll` command. So further setting invalid bits on top
of a fully invalid map is pointless. 

Note: I didn't use `bitmap::all()` here because it is significantly
slower to check all the bits than it is to just reason out that the
bitmap was already fully marked.

## Validation Steps Performed
- Run `time cat big.txt`. Checked average time before/after, WPR traces
  before/after.
2020-07-17 19:32:36 +00:00
..
api.txt Update wil. Fixes GDI handle leak (#6229) 2020-06-01 22:29:05 +00:00
apis.txt Skip DX invalidation if we've already scrolled an entire screen worth of height (#6922) 2020-07-17 19:32:36 +00:00
chinese.txt ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
dictionary.txt Add support for the "overline" graphic rendition attribute (#6754) 2020-07-06 14:11:17 +00:00
fonts.txt ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
japanese.txt ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
math.txt add til::math, use it for float conversions to point, size (#5150) 2020-03-27 22:48:49 +00:00
microsoft.txt Add High Contrast image assets (#6915) 2020-07-14 14:45:30 -07:00
names.txt ci: spelling: update to 0.0.16a; update advice (#5922) 2020-05-28 08:01:52 -05:00
README.md ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00

Dictionaries are lists of words to accept unconditionally

While check spelling will complain about a whitelisted word which is no longer present, you can include things here even if they are not otherwise present in the repository.

E.g., you could include a list of system APIs here, or potential contributors (so that if a future commit includes their name, it'll be accepted).

Files

File Description
Dictionary Primary US English dictionary
Chinese Chinese words
Japanese Japanese words
Microsoft Microsoft brand items
Fonts Font names
Names Names of people