Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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
10
(10)
Pull requests
9
(9)
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.