-
Notifications
You must be signed in to change notification settings - Fork 12
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
Are the memcpy
s still done with Rust 2018/2021 without using this crate?
#22
Comments
memcpy
s still done with Rust 2018/2021?memcpy
s still done with Rust 2018/2021 without using this crate?
Not seeing the copy any more on Rust playground: #[inline(never)]
fn foo() -> Box<Foo> {
Box::new(Foo::Small(4)) // this has 1 memcopy
//Box::alloc().init(Foo::Small(4)) // this has 0 memcopies
} LLVM:
Asm:
Added the "[deprecated]" to crate description now. |
This was referenced Sep 26, 2022
bors bot
pushed a commit
to bevyengine/bevy
that referenced
this issue
Sep 27, 2022
# Objective Remove copyless copyless apparently isn't needed anymore to prevent extraneous memcopies and therefore got deprecated: kvark/copyless#22
james7132
pushed a commit
to james7132/bevy
that referenced
this issue
Oct 19, 2022
# Objective Remove copyless copyless apparently isn't needed anymore to prevent extraneous memcopies and therefore got deprecated: kvark/copyless#22
james7132
pushed a commit
to james7132/bevy
that referenced
this issue
Oct 28, 2022
# Objective Remove copyless copyless apparently isn't needed anymore to prevent extraneous memcopies and therefore got deprecated: kvark/copyless#22
ItsDoot
pushed a commit
to ItsDoot/bevy
that referenced
this issue
Feb 1, 2023
# Objective Remove copyless copyless apparently isn't needed anymore to prevent extraneous memcopies and therefore got deprecated: kvark/copyless#22
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: