Skip to content

Conversation

@PSeitz
Copy link
Contributor

@PSeitz PSeitz commented Oct 31, 2025

In lz4_flex a fixed size parameter is used to copy_within to avoid calls to libc memmove.
However, I can see in the call stack still see calls to libc. I think it's because of the missing inline.

It's using the equivalent of this:
https://godbolt.org/z/cKqYYvKbT
(in this example copy_within is getting inlined)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Oct 31, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 31, 2025

r? @joboet

rustbot has assigned @joboet.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants