Skip to content

[FEATURE] Store subframe layers as 3D ndarry in AetherRenderer #14

@cmorman89

Description

@cmorman89

Store subframe layers as a 3D ndarray (stacked along axis-0) of 2D ndarrays in AetherRenderer for faster access and potential CPU cache optimization.

Additional Context

Investigate the feasibility and practicality of using a 3D ndarray to store subframe layers, and assess whether this approach is more efficient or results in any memory-related performance loss. For example, with a potential shape of (7, 380, 640), this would result in 1,702,400 elements of dtype=uint8, consuming approximately 1.7MB of cache memory. Consider the potential benefits in CPU cache performance and memory access patterns, particularly if the 3D ndarray leads to better cache locality during rendering and other operations, or if the memory overhead outweighs these benefits.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions