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

whisper: Use emplace_back in place of push_back #319

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

asmaloney
Copy link
Contributor

This avoids potential construction of temporaries.

This avoids potential construction of temporaries.
@ggerganov ggerganov merged commit 543bd56 into ggerganov:master Dec 23, 2022
@ggerganov
Copy link
Owner

@asmaloney Thanks for the contributions!

@asmaloney
Copy link
Contributor Author

My pleasure. Thank you for the project!

I'm having fun playing with it. I probably won't have any deep contributions since I don't understand the details, but I'm happy to do some little things. I think it's an important project because it lets people embed this tech into projects that otherwise don't have easy access to it (because... Python).

I can imagine lots of accessibility scenarios where it could be used to help people who have problems with fine motor skills. And with your other language bindings it really opens it up! (e.g. I use go a lot.)

Have a great xmas weekend! 🎄

@asmaloney asmaloney deleted the use-emplace_back branch December 23, 2022 10:50
rock3125 pushed a commit to rock3125/whisper.cpp that referenced this pull request Feb 21, 2023
This avoids potential construction of temporaries.
anandijain pushed a commit to anandijain/whisper.cpp that referenced this pull request Apr 28, 2023
This avoids potential construction of temporaries.
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
This avoids potential construction of temporaries.
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