Skip to content

Conversation

@Izaron
Copy link
Member

@Izaron Izaron commented Dec 22, 2016

I have made memory optimization in function edit_distance. This function is calls often in hardsubx, and works for O(len^2) time and O(len^2) memory. But in fact we can work with two massives with size len instead of len. With my commit it works now with massive with size of 2*min(len1,len2).
For example, in this two videos: https://abhinavshukla95.wordpress.com/2016/08/18/google-summer-of-code-work-product-submission/ We have maximum wasting of memory in first video 59x59 ints ans in second video 87x98 with example arguments. With my commit we can use memory of 2x59 ints and 2x87 ints respectively.

@cfsmp3 cfsmp3 merged commit 12466ef into CCExtractor:master Dec 23, 2016
hrideshmg pushed a commit to hrideshmg/ccextractor that referenced this pull request Mar 12, 2025
* update linux CI script
Remove redundant tests and add rust flag for cmake build

* Delete build files after tests are complete

* fix binary path
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