Skip to content
Snippets Groups Projects
Commit 4231bbbf authored by Reimar Döffinger's avatar Reimar Döffinger
Browse files

sgidec: make compiler optimize away memcpy call in inner loop.


Using an always_inline function makes the memcpy length a constant,
any reasonable compiler will replace it by a single mov instruction
without us having to duplicate the actual code.

Signed-off-by: default avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent efd6b80b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment