mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-12 05:25:06 +00:00
[PR #1207] [MERGED] [IMPROVEMENT] Remove useless O(N) operations and memory allocations #2001
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1207
Author: @NilsIrl
Created: 1/21/2020
Status: ✅ Merged
Merged: 1/22/2020
Merged by: @cfsmp3
Base:
master← Head:o_n_ops_mem_alloc📝 Commits (1)
98b7315Remove useless O(N) operations and memory allocations📊 Changes
1 file changed (+27 additions, -29 deletions)
View changed files
📝
src/lib_ccx/ocr.c(+27 -29)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
And move some processing to compile time. It also uses functions that don't check needlessly against '\0'.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.