RosaryMala / armok-vision

A 3d realtime visualizer for Dwarf Fortress
MIT License
319 stars 27 forks source link

Pool Protobuf objects #12

Open kazimuth opened 9 years ago

kazimuth commented 9 years ago

We're currently using ~30kb of Protobuf every frame - and that's when no tile data is coming in. It'll probably eventually be a good idea to implement object pooling to keep allocation down.

RosaryMala commented 9 years ago

I'd worry about that once it becomes a significant bottleneck. Right now it's not an issue.

On Sun 10 May, 2015 12:58 pm James Gilles notifications@github.com wrote:

We're currently using ~30kb of Protobuf every frame - and that's when no tile data is coming in. It'll probably eventually be a good idea to implement object pooling to keep allocation down.

— Reply to this email directly or view it on GitHub https://github.com/JapaMala/armok-vision/issues/12.