Re:The iPhone XS and XS Max Review: Unveiling the Silicon Se...
by pertymcpert on Wednesday October 10, 2018 @11:48AM
(#18186005)
There are some cases where it may make sense to write your own implementation, if you have a niche microarchitecture that has unusual performance characteristics that the OS doesn't provide optimized routines for by default. But for most u-archs the default optimized routines should do a good job.
Things like malloc are quite a bit more complicated, and more workload dependent so there's still some opportunity specializing an implementation there.
People still seem to like writing their own cool malloc, but memcpy not so much.