You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding performance: Well this will reduce portability but MSVC, gcc and clang (same as gcc I think) all have intrinsics defined for bswap which will probably perform better than your implementations. At least on x86 they'll probably make use of the bswap instruction. So you might want to have a few #ifdef'ed alternatives for different compilers. https://codereview.stackexchange.com/questions/64797/byte-swapping-functions
Little Endian の値を Big Endian に変換する、またはその逆の変換を行う実装の高速な実装を調査する。
The text was updated successfully, but these errors were encountered: