2 ms·
It could, but for a case without a known count it doesn't really make sense to do that. (I honestly found the concern to be kind of strange for that reason, hon
by saagarjha 5y ago
It could, but for a case without a known count it doesn't really make sense to do that. (I honestly found the concern to be kind of strange for that reason, honestly.)
- astrange 5y agoA memset tail call would be less code size than the loop, so it's still worth it even for cold code.