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 }}
mozilla
thin-vec
Repository navigation
Code
Issues
4
(4)
Pull requests
4
(4)
Actions
Projects
Security and quality
1
(1)
Insights
More
items
Remove allocation for ZSTs
- #92
#92
Merged
emilio
merged 10 commits into
mozilla:main
mozilla/thin-vec:main
from
Baptistemontan:no_alloc_zst
Baptistemontan/thin-vec:no_alloc_zst
Copy head branch name to clipboard
Sep 16, 2026
Conversation
Commits
10
(10)
Checks
Files changed
Merged
Remove allocation for ZSTs
#92
emilio
merged 10 commits into
mozilla:main
mozilla/thin-vec:main
from
Baptistemontan:no_alloc_zst
Baptistemontan/thin-vec:no_alloc_zst
Copy head branch name to clipboard
Commits
Commits on Sep 16, 2026
don't allocate for ZSTs
Baptistemontan
committed
2cbd648
View commit details
Copy full SHA for 2cbd648
Browse repository at this point
always inline is_zst()
Baptistemontan
committed
011927e
View commit details
Copy full SHA for 011927e
Browse repository at this point
fix typo
Baptistemontan
committed
3841784
View commit details
Copy full SHA for 3841784
Browse repository at this point
fix importing NonZeroUsize from std and import from core instead
Baptistemontan
committed
1059bc6
View commit details
Copy full SHA for 1059bc6
Browse repository at this point
has_allocation now return false on ZSTs, and inlined the ZST drop_in_place inside the drop impl
Baptistemontan
committed
16221cc
View commit details
Copy full SHA for 16221cc
Browse repository at this point
made `len_to_ptr_unchecked` const for the const_new feature
Baptistemontan
committed
34680ec
View commit details
Copy full SHA for 34680ec
Browse repository at this point
removed polyfill for ptr::dangling_mut
Baptistemontan
committed
18f14e1
View commit details
Copy full SHA for 18f14e1
Browse repository at this point
fix typo
Baptistemontan
committed
c18315e
View commit details
Copy full SHA for c18315e
Browse repository at this point
remove unecessary zst checks
Baptistemontan
committed
66db9d6
View commit details
Copy full SHA for 66db9d6
Browse repository at this point
minor changes
Baptistemontan
committed
127a785
View commit details
Copy full SHA for 127a785
Browse repository at this point
You can’t perform that action at this time.