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 }}
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.8k
Star
119k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
reuse RHS allocation for vec.extend(vec.into_iter()) when they do not fit into the LHS
- #77496
#77496
Closed
the8472
wants to merge 12 commits into
rust-lang:master
rust-lang/rust:master
from
the8472:extend-recycle
the8472/rust:extend-recycle
Copy head branch name to clipboard
Conversation
Commits
12
(12)
Checks
Files changed
Closed
reuse RHS allocation for vec.extend(vec.into_iter()) when they do not fit into the LHS
#77496
the8472
wants to merge 12 commits into
rust-lang:master
rust-lang/rust:master
from
the8472:extend-recycle
the8472/rust:extend-recycle
Copy head branch name to clipboard
Commits
Commits on Oct 3, 2020
reuse RHS allocation in vec.extend() when the LHS is empty
the8472
committed
c5af975
View commit details
Copy full SHA for c5af975
Browse repository at this point
Commits on Oct 4, 2020
vec.extend() reuse RHS allocation if combined data does not fit into LHS
the8472
committed
2409653
View commit details
Copy full SHA for 2409653
Browse repository at this point
add comment for IntoIter::move_to
Show description for 8a0a13a
the8472
and
pickfire
committed
8a0a13a
View commit details
Copy full SHA for 8a0a13a
Browse repository at this point
Commits on Oct 5, 2020
rename function
the8472
committed
0c443cf
View commit details
Copy full SHA for 0c443cf
Browse repository at this point
add debug asserts
the8472
committed
153a916
View commit details
Copy full SHA for 153a916
Browse repository at this point
Commits on Oct 6, 2020
rename function
the8472
committed
cb477d4
View commit details
Copy full SHA for cb477d4
Browse repository at this point
add ascii illustration
the8472
committed
5e6abf1
View commit details
Copy full SHA for 5e6abf1
Browse repository at this point
move self-replacement to separate line
the8472
committed
567cd52
View commit details
Copy full SHA for 567cd52
Browse repository at this point
memory-based ascii illustration
the8472
committed
1dbab48
View commit details
Copy full SHA for 1dbab48
Browse repository at this point
Commits on Oct 7, 2020
annotate used primitives in ascii illustration
the8472
committed
aa4a4ac
View commit details
Copy full SHA for aa4a4ac
Browse repository at this point
Commits on Oct 9, 2020
reserve() was not annotated with free
the8472
committed
1885f38
View commit details
Copy full SHA for 1885f38
Browse repository at this point
Commits on Oct 15, 2020
fix debug_assert and improve associated comment
the8472
committed
d460c85
View commit details
Copy full SHA for d460c85
Browse repository at this point
You can’t perform that action at this time.