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 }}
pcwalton
/
offset-allocator
Public
Notifications
You must be signed in to change notification settings
Fork
13
Star
437
Code
Issues
5
Pull requests
4
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Refactor offset-allocator to improve readability
- #10
#10
Draft
patowen
wants to merge 13 commits into
pcwalton:main
pcwalton/offset-allocator:main
from
patowen:refactor-for-rust-practices
patowen/offset-allocator:refactor-for-rust-practices
Copy head branch name to clipboard
Conversation
Commits
13
(13)
Checks
Files changed
Draft
Refactor offset-allocator to improve readability
#10
patowen
wants to merge 13 commits into
pcwalton:main
pcwalton/offset-allocator:main
from
patowen:refactor-for-rust-practices
patowen/offset-allocator:refactor-for-rust-practices
Copy head branch name to clipboard
Commits
Commits on Aug 22, 2026
Add Cargo.lock to .gitignore
patowen
committed
d88c1f2
View commit details
Copy full SHA for d88c1f2
Browse repository at this point
Add explanatory documentation to help readers understand how the allocator works
patowen
committed
28eccf8
View commit details
Copy full SHA for 28eccf8
Browse repository at this point
Rename max_allocs to max_nodes to fix inaccuracy
patowen
committed
93ac8fd
View commit details
Copy full SHA for 93ac8fd
Browse repository at this point
Move NodeIndex to a separate module
patowen
committed
4b011ca
View commit details
Copy full SHA for 4b011ca
Browse repository at this point
Move unit tests to colocate them with the code they're testing
patowen
committed
420c27c
View commit details
Copy full SHA for 420c27c
Browse repository at this point
Use ilog2 instead of leading_zeros
patowen
committed
407f6b6
View commit details
Copy full SHA for 407f6b6
Browse repository at this point
Add abstraction layer for SmallFloat
patowen
committed
a103ab5
View commit details
Copy full SHA for a103ab5
Browse repository at this point
Add abstraction layer for BinsMap
patowen
committed
d59fd8a
View commit details
Copy full SHA for d59fd8a
Browse repository at this point
Resolve confusing internal semantics of accessing a node after deletion
patowen
committed
a670196
View commit details
Copy full SHA for a670196
Browse repository at this point
Add abstraction layer for NodeSlab
patowen
committed
e5ae15d
View commit details
Copy full SHA for e5ae15d
Browse repository at this point
Use `u32` for `offset` field of `Allocation` (nspin's fix)
patowen
committed
9bc9806
View commit details
Copy full SHA for 9bc9806
Browse repository at this point
Fix off-by-one errors related to NodeSlab
patowen
committed
1c5d05d
View commit details
Copy full SHA for 1c5d05d
Browse repository at this point
Make Node definition more explicit in insert_node_into_bin
patowen
committed
2da1ccc
View commit details
Copy full SHA for 2da1ccc
Browse repository at this point
You can’t perform that action at this time.