Lifetime of pointers value

FWIW, the const keyword doesn't seem to make any difference. The two (dis)assembly listings are exactly (minus the const keyword itself, of course) the same.
Using the static keyword, instead, makes a lot of difference. The loop() function is shorter, for example.