Looking at issue #112, the "Channel Count" statistics is not accurate. It shows a value of "0" for every layer even though there are obviously more than 0 channels in some layers (otherwise no UI would be visible on screen).
The GetLayerDebugInfo function in Internal/Core/DrawCommands.lua is faulty. It uses the length of the Layer table for statistics, which is always 0 - it's a hash table that has no length.
As I'm trying to optimize the DrawCommands module for performance, I wonder if Channel Count is an important metric at all? I don't even understand what "Channel" even means in this context.
Looking at issue #112, the "Channel Count" statistics is not accurate. It shows a value of "0" for every layer even though there are obviously more than 0 channels in some layers (otherwise no UI would be visible on screen).
The
GetLayerDebugInfofunction inInternal/Core/DrawCommands.luais faulty. It uses the length of theLayertable for statistics, which is always 0 - it's a hash table that has no length.As I'm trying to optimize the
DrawCommandsmodule for performance, I wonder ifChannel Countis an important metric at all? I don't even understand what "Channel" even means in this context.