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
View 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
pybind
/
pybind11
Public
Notifications
You must be signed in to change notification settings
Fork
2.3k
Star
18k
Code
Issues
574
Pull requests
154
Discussions
Actions
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
Improve performance of enum_ operators by going back to specific implementation
- #5887
#5887
Merged
rwgk
merged 13 commits into
pybind:master
pybind/pybind11:master
from
swolchok:enum-perf
swolchok/pybind11:enum-perf
Copy head branch name to clipboard
Feb 17, 2026
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Improve performance of enum_ operators by going back to specific implementation
#5887
rwgk
merged 13 commits into
pybind:master
pybind/pybind11:master
from
swolchok:enum-perf
swolchok/pybind11:enum-perf
Copy head branch name to clipboard
Commits
Commits on Oct 31, 2025
Improve performance of enum_ operators by going back to specific implementation
Show description for f34a039
swolchok
committed
f34a039
View commit details
Copy full SHA for f34a039
Browse repository at this point
outline call_impl to save on code size
Show description for a65e79d
swolchok
committed
a65e79d
View commit details
Copy full SHA for a65e79d
Browse repository at this point
add function_ref.h to PYBIND11_HEADERS.
swolchok
committed
ffb981c
View commit details
Copy full SHA for ffb981c
Browse repository at this point
Commits on Nov 3, 2025
Update test_copy_move tests with C++17 passing values just so we can see mostly-not-red tests
swolchok
committed
65e5866
View commit details
Copy full SHA for 65e5866
Browse repository at this point
Remove stray TODO
swolchok
committed
729e9f8
View commit details
Copy full SHA for 729e9f8
Browse repository at this point
Commits on Nov 5, 2025
fix clang-tidy
swolchok
committed
f24ded5
View commit details
Copy full SHA for f24ded5
Browse repository at this point
Commits on Nov 6, 2025
fix clang-tidy again. add function_ref.h to test_files.py
swolchok
committed
c032b53
View commit details
Copy full SHA for c032b53
Browse repository at this point
Commits on Nov 11, 2025
Merge branch 'master' into swolchok→enum-perf
rwgk
committed
bd014c0
View commit details
Copy full SHA for bd014c0
Browse repository at this point
Add static assertion for function_ref lifetime safety in call_impl
Show description for 279c72a
rwgk
committed
279c72a
View commit details
Copy full SHA for 279c72a
Browse repository at this point
Add #undef cleanup for enum operator macros
Show description for a580cce
rwgk
committed
a580cce
View commit details
Copy full SHA for a580cce
Browse repository at this point
Rename PYBIND11_THROW to PYBIND11_ENUM_OP_THROW_TYPE_ERROR
Show description for 0287ec6
rwgk
committed
0287ec6
View commit details
Copy full SHA for 0287ec6
Browse repository at this point
Clarify comments in function_ref.h
Show description for 35b4b8f
rwgk
committed
35b4b8f
View commit details
Copy full SHA for 35b4b8f
Browse repository at this point
Commits on Feb 17, 2026
[skip ci] Merge branch 'master' into swolchok→enum-perf
rwgk
committed
9fcc88f
View commit details
Copy full SHA for 9fcc88f
Browse repository at this point
You can’t perform that action at this time.