3 ms·
I couldn't implement this defer macro without it.
by sirwhinesalot 3y ago
I couldn't implement this defer macro without it.
- ruslan 3y agoBtw, using goto to different labels is no good for modern CPUs as it spoils branch predictor. In classic Linux way it's usually goto to same "end" or "fail" label resulting in more efficient code. Let's hope compiler will rule this out. ;)
- sirwhinesalot 3y agoWhat you save in the gotos you "lose" in the ifs.