Memory optimizations for all resolutions #242
Conversation
…fault) #define MRP_DISABLE_ADDED_CAND_M1 0
+ fix mac os CREATETHREAD macro
|
Using
And 32% to 40% on
Amazing improvement! |
|
This hangs for Mac at the end in function eb_deinit_encoder - it doesn't exit the do-while loop |
|
this PR is un-reviewable -- don't get me wrong, I appreciate the improvements, but this code dump is full with commits that mean nothing or needlessly taint the history and it's devoid of any good development practice or open source community |
I've also been mentioning this: diffs should contain only changes to the topic at hand. Mixing in unrelated changes and style cleanups only make things more unclear. It might be tempting to do so, but it should be avoided. |
|
It hangs here at Process 56491 stopped
|
+ address mac os deadlock: revert the order of the memory map linked list to start by stopping threads then destroy semaphores
|
Mac issue seems solved. Thanks. |
|
@kodabb @kylophone |
That is really a poor excuse, especially since you're at the beginning of a project you should try and keep your git history as clean as possible: fewer lines of codes and fewer git commits. There is very little value in commit hygiene after the history is tainted.
The size of a patch is not the problem here: it's the size of the PR which mixes different changes and contains commits that change and change back code subsequently. Both of these practices should be avoided, and proper
I keep hearing this argument when i bring up development quality, but it can't be further from the truth. Once proper practices are in place, it takes very little time to apply them and the pay off is in shorter debug runs (as you can check history faster and more cleaner) and better understanding of the codebase itself (as commit logs should include a bit of explanation that you cannot find documented anywhere else). The only good the current practice's doing is only acting as a gatekeeper for people who actually care about those points, a.k.a. any open source multimedia developer, who, according to various marketing announcements, you are seeking to entail in this project. I am sure that your goal is not to make another Android-style code dump repository, and I am hopeful that you will improve your code quality before your codec quality. |
|
I can only support @kodabb here. Those kind of PR are ridiculous. |
Memory optimizations for: - MV and Candidate structures - Picture level structures - Memory map 35 - 70% memory savings across all presets / resolutions / core count. Gain is highest for the smaller resolutions fastest preset.
35 - 70% memory savings across all presets / resolutions / core count.
Gain is highest for the smaller resolutions fastest preset.