that code was just a proof of concept, the actual one is way more convoluted, with a Const Map initialization
my initial question could be translated as "since Const is a constant value, is it created one-time only through the program lifecycle, or is it created at declaration time, even if used multiple times?"
i understand the answer is "there is no optimization applied, it's created every time, but you should not worry about it", and that's fine for me
someone may also wonder the need for such a question: in my case, it's for code readabilty, keeping constants near the code where it is used, instead of moving them in some global place, but way out of sight.