Repository navigation
Preserve cell styles when clipping overtyped text+perf - #315
Conversation
…yles' into perf/clip-overtyping-styles
Parse each SGR once only while painting, and 'queue' the parsed parameters, memoize the state apply and sequence builder. Use tuples for cell style instead of a 'parallel dict'.
Merging this PR will improve performance by 28.02%1 warning
Performance Changes
Tip Curious why performance improved? Comment Comparing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #315 +/- ##
==========================================
+ Coverage 88.14% 88.16% +0.02%
==========================================
Files 41 41
Lines 5634 5645 +11
Branches 1508 1513 +5
==========================================
+ Hits 4966 4977 +11
Misses 318 318
Partials 350 350 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch is #305 with significant performance improvements. Closes #305.