wesm commented on PR #10: URL: https://github.com/apache/arrow-nanoarrow/pull/10#issuecomment-1203166422
Also, keep in mind that in C, unlike C++, it takes more work to guarantee that functions will actually be inlined in all compilers. You need something like ``` #ifdef _MSC_VER # define always_inline __forceinline #elif defined(__GNUC__) # define always_inline __attribute__((always_inline)) inline #else # define always_inline inline #endif ``` I've always found it easier to use macros (as long as you don't put anything too complex in the macro which can make debugging more difficult) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
