I don't do it as speed optimization, more as a don't-repeat-things-twice thing. But this one is borderline (and readable) so I also thought it can go either way. I agree about your reasoning too and to use a variable if you compute something. Cool.