Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len()
Glitchvid@lemmy.world 2 weeks agoif not x then … end
is very common in Lua for similar purposes, very rarely do you see hard nil comparisons or calls to typeof
(last time I did was for a serializer).