Skip to content

Conversation

@Freax13
Copy link
Owner

@Freax13 Freax13 commented Aug 23, 2025

The futures for all syscall handlers are stored in the same statically sized type, so reducing the size of the largest future also reduces the overall size.

This PR reduces the size of the sendfile handler.

This has two advantages:
1. We no longer keep a large buffer accross an await-point.
2. We make fewer unnecessary copies.
@Freax13 Freax13 enabled auto-merge August 23, 2025 17:50
@Freax13 Freax13 merged commit 672d0a9 into main Aug 23, 2025
163 of 164 checks passed
@Freax13 Freax13 deleted the enhancement/smaller-future branch August 23, 2025 18:17
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.

2 participants