3 ms·
In fact all three major compilers manage to use memset in all cases, see here: https://godbolt.org/z/hVJfPE https://godbolt.org/z/hVJfPE
by simfoo 7y ago
In fact all three major compilers manage to use memset in all cases, see here: https://godbolt.org/z/hVJfPE https://godbolt.org/z/hVJfPE