Fast dynamic text rendering

Hello! I have a game environment with a number of moving characters. For each of them I would like to render a text label on top their head showing their actual position.

At the moment I’m using TextNode and I update the text every frame. I would like to make this process as fast as possible. How could I optimize? Thanks!

The best way to optimize is not to update every frame. Do you really need to see the position down to the nearest 1/60 of a second? How about twice a second or so instead?


Sure no big deal! Thanks for suggesting.