2 ms·
Sure, the scaling is definitely better with the goto approach. Goto will probably codegen better too (consider the destructors being inlined). Separating alloca
by JonChesterfield 3y ago
Sure, the scaling is definitely better with the goto approach. Goto will probably codegen better too (consider the destructors being inlined). Separating allocation from whatever one is doing with the resources is usually still a win though - it decouples the cases you're checking when looking through the code.