Fix unaligned allocation memory for 64-bit platforms #165
Replies: 3 comments
-
Hello @GermanAizek, thank you for reporting the issue. Could you please update the description using the template given in #131 ? Please add your content in the template fields enclosed with Could you please mark the checkboxes in the Extra fields section too by replacing the space Thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
I'm moving this to X11Libre Ideas · Discussions · GitHub since there are still some open questions. Also the real value should be shown by numbers and outweight the risk of breaking things significantly. |
Beta Was this translation helpful? Give feedback.
-
This will be closed because the reporter did not respond. Please comment on this of you feel the need to reopen this discussion. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
More info about "Fix unaligned allocation" with my benchmarks in dav1d AV1 decoder:
https://code.videolan.org/videolan/dav1d/-/merge_requests/1794
A similar principle can be applied to optimize memory allocation and deallocation by aligned blocks.
References
https://fylux.github.io/2017/07/11/Memory_Alignment/
https://stackoverflow.com/questions/32139051/what-are-benefits-of-allocating-a-page-aligned-memory-chunk
https://www.reddit.com/r/C_Programming/comments/1b14jht/when_should_someone_use_aligned_alloc_over_malloc/
Beta Was this translation helpful? Give feedback.
All reactions