Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on Sept 20, 2023
|
parent
|
context
|
favorite
| on:
Always Bump Downwards (2019)
You'd need to check for that, though.
loeg
on Sept 20, 2023
[–]
No, just restrict the domain of the alignment input to like, u8. Maybe u16. Either way, it is easy to ensure your bump allocation space is far enough away from SIZE_MAX.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: