Y
Hacker News
new
|
ask
|
show
|
jobs
by
kevin_thibedeau
408 days ago
The standard allows memset/memcpy to be replaced by inline code. There is no need to use non-standard extensions to get a performance boost.
1 comments
userbinator
408 days ago
That's how the MSVC intrinsics work. Turn on the option and memset/memcpy, among others, gets replaced automatically:
https://learn.microsoft.com/en-us/cpp/preprocessor/intrinsic...
link
https://learn.microsoft.com/en-us/cpp/preprocessor/intrinsic...