Post AQ4BqI3pXamvqiC3SC by cocoaphony@mastodon.social
 (DIR) More posts by cocoaphony@mastodon.social
 (DIR) Post #AQ4BqI3pXamvqiC3SC by cocoaphony@mastodon.social
       2022-11-28T14:11:07Z
       
       1 likes, 0 repeats
       
       I love value types so much for correctness. Local reasoning make so many things clear. Some quirks when mutating aggregate data structures, but still, very nice.Value types and performance... we dance again, you and I.
       
 (DIR) Post #AQ4BqJtciVoPXdQvp2 by cocoaphony@mastodon.social
       2022-11-28T14:14:50Z
       
       0 likes, 0 repeats
       
       I'm doing very foolish things like passing a large value to a mutating method of one of its own properties. You'd think fixing that would improve things dramatically. Nah; the compiler already inlined it for me so it didn't matter. It's very smart. Which makes finding what the compiler couldn't fix even harder.Not a complaint there. The compiler is doing its job really well. I just wish I had (even better) Instruments tools to figure it outLooking forward to move types. They'll help too.