4 ms·
Swift can be written in many ways with different performance tradeoffs. The slower ways looks like Objective-C or functional programming. The faster ways look l
by bsdpufferfish 3y ago
Swift can be written in many ways with different performance tradeoffs. The slower ways looks like Objective-C or functional programming. The faster ways look like ergonomic C or C++.
- msephton 3y agoThat's exactly it. It seems this example is not optimised in any way, so in my testing it performs worse than the C version. I'm hopeful that won't be the case for very long.