Interesting to see the different mental models used when reading code. Overall I'm fine with either static within function or static outside function depending on author preference + for short cases like this I'm also fine with them on the stack. Obviously can only speak for what I'll take into IIO! Jonathan