Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

SDK • Re: I'm curious why my sloppy code is actually smaller than optimized code...

$
0
0
I am just curious if any one is against using libraries as optimization zones. You can have custom build logic for each and possibly multiple versions of it. Then you link against the right ones at compile time. In OS we may consider linking dynamically, but that is different environment.

I know the SDK does not fully support it, but just conceptually. The idea of restricting O3 into specific domains. Granted I could probably isolate the SDK using the same principle. However I would have to write good headers. I may also need linker optimization to get inlining back. That gets nuts if too aggressive as I understand it.

Statistics: Posted by dthacher — Sat Jul 27, 2024 8:58 pm



Viewing all articles
Browse latest Browse all 4151

Trending Articles