Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Change the standard Input impl to support any slice#1810

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
marcdejonge wants to merge3 commits intorust-bakery:main
base:main
Choose a base branch
Loading
frommarcdejonge:generic-input-implementation

Conversation

@marcdejonge
Copy link
Contributor

The main change is that the Item is a reference instead of a copy.

It also adds anIntoInput type that makes it easier to deal with inputs for the tag and take functions.

Possible solution to solve#1809 and#1799

bim9262 reacted with eyes emoji
The main change is that the Item is a reference instead of a copy
@marcdejongemarcdejongeforce-pushed thegeneric-input-implementation branch from6369ccb to69c0d5bCompareFebruary 10, 2025 13:18
@codspeed-hq
Copy link

codspeed-hqbot commentedFeb 10, 2025
edited
Loading

CodSpeed Performance Report

Merging#1810 willimprove performances by 35.77%

Comparingmarcdejonge:generic-input-implementation (765bfa8) withmain (a44b52e)

Summary

⚡ 2 improvements
✅ 22 untouched benchmarks

Benchmarks breakdown

BenchmarkBASEHEADChange
float bytes1.9 µs1.7 µs+10.99%
float bytes streaming748.6 ns551.4 ns+35.77%

@marcdejongemarcdejonge marked this pull request as ready for reviewFebruary 10, 2025 16:52
@marcdejonge
Copy link
ContributorAuthor

Probably also something for 9.0 if you even want to do this

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

Reviewers

@GealGealAwaiting requested review from GealGeal is a code owner

At least 0 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@marcdejonge

[8]ページ先頭

©2009-2025 Movatter.jp