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

genericvector: Small optimizations #925

Merged
merged 2 commits into from
May 16, 2017
Merged

Conversation

stweil
Copy link
Member

@stweil stweil commented May 16, 2017

No description provided.

stweil added 2 commits May 16, 2017 22:57
Several code locations call that method with a normal C string,
so overload it to accept that without a conversion to a STRING
object. This saves unneeded new / memcpy / delete operations.

Signed-off-by: Stefan Weil <[email protected]>
@egorpugin egorpugin merged commit 697f842 into tesseract-ocr:master May 16, 2017
@stweil stweil deleted the opt branch May 17, 2017 04:52
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