Skip to content
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

string: Remove redundancy call to memcpy #75

Closed
wants to merge 1 commit into from

Conversation

rexnie
Copy link

@rexnie rexnie commented Nov 28, 2024

Since memcpy added to funtab array, it will be called when iterate the array in for statement. Remove redundancy call to memcpy to avoid confusing benchmask results.

Since memcpy added to funtab array, it will be called when iterate
the array in for statement. Remove redundancy call to memcpy to
avoid confusing benchmask results.

Signed-off-by: Rex Nie <[email protected]>
@Wilco1
Copy link
Contributor

Wilco1 commented Dec 27, 2024

The reason for memcpy_call was to check whether direct calls are faster. Since one would typically directly link with these functions, using direct calls is more representative. So I've updated the infrastructure to use direct calls only.

Closing this since it now conflicts.

@Wilco1 Wilco1 closed this Dec 27, 2024
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