Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
tempestphp
highlight
Repository navigation
Code
Issues
2
(2)
Pull requests
Actions
Security and quality
Insights
More
items
perf: ~32% faster highlighting, fix silent token loss, memory and gutter bugs
- #236
#236
Closed
ArtMin96
wants to merge 15 commits into
tempestphp:main
tempestphp/highlight:main
from
ArtMin96:perf/engine-optimizations
ArtMin96/highlight:perf/engine-optimizations
Copy head branch name to clipboard
Conversation
Commits
15
(15)
Checks
Files changed
Closed
perf: ~32% faster highlighting, fix silent token loss, memory and gutter bugs
#236
ArtMin96
wants to merge 15 commits into
tempestphp:main
tempestphp/highlight:main
from
ArtMin96:perf/engine-optimizations
ArtMin96/highlight:perf/engine-optimizations
Copy head branch name to clipboard
Commits
Commits on Oct 20, 2026
perf(escape): escape and restore tokens in a single strtr pass
Show description for c64e020
ArtMin96
committed
c64e020
View commit details
Copy full SHA for c64e020
Browse repository at this point
perf(twig,gdscript): match keywords with one combined pattern
Show description for 5e63325
ArtMin96
committed
5e63325
View commit details
Copy full SHA for 5e63325
Browse repository at this point
fix(highlighter): key language caches by instance, reuse injected languages
Show description for 8169d96
ArtMin96
committed
8169d96
View commit details
Copy full SHA for 8169d96
Browse repository at this point
fix(patterns): stop large multiline blocks from losing their highlighting
Show description for c85befb
ArtMin96
committed
c85befb
View commit details
Copy full SHA for c85befb
Browse repository at this point
feat: add RequiresSubstring attribute for skippable patterns and injections
Show description for a7e243c
ArtMin96
committed
a7e243c
View commit details
Copy full SHA for a7e243c
Browse repository at this point
fix(base): keep marker injections linear and fix gutter state and UTF-8 errors
Show description for 17725c3
ArtMin96
committed
17725c3
View commit details
Copy full SHA for 17725c3
Browse repository at this point
fix(patterns): stop dropping tokens after long literals, fix keyword bugs
Show description for 4ef0675
ArtMin96
committed
4ef0675
View commit details
Copy full SHA for 4ef0675
Browse repository at this point
perf(engine): compile patterns once, skip unmatched work, cut sort memory
Show description for 7778cc6
ArtMin96
committed
7778cc6
View commit details
Copy full SHA for 7778cc6
Browse repository at this point
perf(injections): declare required substrings, stop per-type regexes
Show description for ebf9682
ArtMin96
committed
ebf9682
View commit details
Copy full SHA for ebf9682
Browse repository at this point
Commits on Oct 23, 2026
fix(tokens): only freeze immutable patterns from this package
Show description for 948bd4a
ArtMin96
committed
948bd4a
View commit details
Copy full SHA for 948bd4a
Browse repository at this point
fix(tokens): compare packed sort keys as integers
Show description for 1090e1d
ArtMin96
committed
1090e1d
View commit details
Copy full SHA for 1090e1d
Browse repository at this point
fix(graphql): stop rescanning unclosed strings
Show description for 1537021
ArtMin96
committed
1537021
View commit details
Copy full SHA for 1537021
Browse repository at this point
fix(python): only treat _ as a keyword in case patterns
Show description for 9664866
ArtMin96
committed
9664866
View commit details
Copy full SHA for 9664866
Browse repository at this point
test(twig,gdscript): cover the combined keyword patterns
Show description for 98ce35e
ArtMin96
committed
98ce35e
View commit details
Copy full SHA for 98ce35e
Browse repository at this point
fix(python): highlight case wildcards from the case pattern context
Show description for 6be53a0
ArtMin96
committed
6be53a0
View commit details
Copy full SHA for 6be53a0
Browse repository at this point
You can’t perform that action at this time.