Skip to content

Home > @esengine/ecs-framework-monorepo > SparseSet > getMemoryStats

SparseSet.getMemoryStats() method

获取内存使用统计信息

Signature:

typescript
getMemoryStats(): SparseSetMemoryStats;

Returns:

SparseSetMemoryStats

SparseSet内存统计信息,包含密集数组大小、稀疏映射大小和总内存使用量

基于 MIT 许可证发布