> the s23 has dramatically more memory so it’s going to absolutely kick the crap out of the iPhone12 after it starts to swap your tabs into memory.
Do you have any reproducible test results showing that or are you just asserting tribal loyalty? I jest, we all know the answer.
You might want to read up on how iOS and Android differ in key ways: native code versus JIT, garbage collection versus ARC, and all of the system level differences for how many things can run in the background as well as quickly apps can save and restore state - faster CPUs and SSDs allows iOS to be more aggressive there, too, and developers can tune more aggressively because they have fewer, more consistent configurations to support.
Also consider it from the perspective of the engineering trade offs that the manufacturers make. More RAM means lower battery life and a higher price, and consumers are also sensitive to both of those. Apple controls their stack so tightly that they designed a custom SoC and market-leading CPU, and they measure the user experience very closely since that’s a lot of what they’re selling — if there really was a gap, adding more RAM would be one of the easiest ways to close it. Similarly, Samsung wouldn’t make every phone they make have lower battery life and cost more if that only benefited a small percentage of users. They’re making different choices because they have different systems but both of them watch this stuff closely.