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
Accelerator
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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
15.4k
Star
115k
Code
Issues
5k+
Pull requests
1.3k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
specialize io::copy to use copy_file_range, splice or sendfile
- #75272
#75272
Merged
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
the8472:spec-copy
the8472/rust:spec-copy
Copy head branch name to clipboard
Nov 14, 2020
Conversation
Commits
13
(13)
Checks
Files changed
Merged
specialize io::copy to use copy_file_range, splice or sendfile
#75272
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
the8472:spec-copy
the8472/rust:spec-copy
Copy head branch name to clipboard
Commits
Commits on Nov 13, 2020
specialize io::copy to use copy_file_range, splice or sendfile
Show description for 1623647
the8472
committed
1623647
View commit details
Copy full SHA for 1623647
Browse repository at this point
hide unused exports on other platforms
the8472
committed
5eb88fa
View commit details
Copy full SHA for 5eb88fa
Browse repository at this point
move tests module into separate file
the8472
committed
67a6059
View commit details
Copy full SHA for 67a6059
Browse repository at this point
prioritize sendfile over splice since it results in fewer context switches when sending to pipes
Show description for cd3bddc
the8472
committed
cd3bddc
View commit details
Copy full SHA for cd3bddc
Browse repository at this point
add forwarding specializations for &mut variants
Show description for 0624730
the8472
committed
0624730
View commit details
Copy full SHA for 0624730
Browse repository at this point
reduce syscalls by inferring FD types based on source struct instead of calling stat()
Show description for 46e7fbe
the8472
committed
46e7fbe
View commit details
Copy full SHA for 46e7fbe
Browse repository at this point
add benchmarks
the8472
committed
ad9b07c
View commit details
Copy full SHA for ad9b07c
Browse repository at this point
move copy specialization into sys::unix module
the8472
committed
7f5d272
View commit details
Copy full SHA for 7f5d272
Browse repository at this point
move copy specialization tests to their own module
the8472
committed
18bfe2a
View commit details
Copy full SHA for 18bfe2a
Browse repository at this point
limit visibility of copy offload helpers to sys::unix module
the8472
committed
888b103
View commit details
Copy full SHA for 888b103
Browse repository at this point
move sendfile/splice/copy_file_range into kernel_copy module
the8472
committed
3dfc377
View commit details
Copy full SHA for 3dfc377
Browse repository at this point
do direct splice syscall and probe availability to get android builds to work
Show description for 4854d41
the8472
committed
4854d41
View commit details
Copy full SHA for 4854d41
Browse repository at this point
Always handle EOVERFLOW by falling back to the generic copy loop
Show description for bbfa92c
the8472
committed
bbfa92c
View commit details
Copy full SHA for bbfa92c
Browse repository at this point
You can’t perform that action at this time.