Skip to content

Compilation improvements using strictness #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 2, 2018
Merged

Conversation

gmorpheme
Copy link
Member

No description provided.

@gmorpheme gmorpheme merged commit 4cfb2cf into master Nov 2, 2018
@gmorpheme gmorpheme deleted the feature/strictness branch November 2, 2018 13:05
gmorpheme added a commit that referenced this pull request Jun 17, 2025
Replace extremely wasteful power-of-two sizing with tiered allocation boundaries:
- Up to 128KB: round to 16KB boundaries (max ~12% waste)
- Up to 1MB: round to 64KB boundaries (max ~6% waste)
- Above 1MB: round to 256KB boundaries (max ~25% waste, rare)

Replace power-of-two Block dependency with direct system allocator access
to support arbitrary-sized allocations with page-aligned memory layout.

Add comprehensive large object block recycling infrastructure with best-fit
selection to maximize reuse and minimize fragmentation.

Performance improvements:
- Reduces memory waste from up to 50% down to typically 6-12%
- Implements smart recycling to avoid repeated system allocations
- Uses page-aligned allocations for better cache performance
- Maintains allocation granularity for reasonable memory overhead

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
gmorpheme added a commit that referenced this pull request Jun 17, 2025
* Implement efficient large object allocation sizing (Issue #60)

Replace extremely wasteful power-of-two sizing with tiered allocation boundaries:
- Up to 128KB: round to 16KB boundaries (max ~12% waste)
- Up to 1MB: round to 64KB boundaries (max ~6% waste)
- Above 1MB: round to 256KB boundaries (max ~25% waste, rare)

Replace power-of-two Block dependency with direct system allocator access
to support arbitrary-sized allocations with page-aligned memory layout.

Add comprehensive large object block recycling infrastructure with best-fit
selection to maximize reuse and minimize fragmentation.

Performance improvements:
- Reduces memory waste from up to 50% down to typically 6-12%
- Implements smart recycling to avoid repeated system allocations
- Uses page-aligned allocations for better cache performance
- Maintains allocation granularity for reasonable memory overhead

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix formatting issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant