Raxol.Terminal.CellCached (Raxol v2.0.1)

View Source

Cached version of Cell operations for performance optimization.

This module provides cached versions of common Cell operations to improve performance by avoiding redundant computations.

Summary

Functions

Creates multiple cells in batch.

Merges styles with caching.

Creates a new cell with caching.

Warms up the cache with common values.

Functions

batch_new(pairs)

Creates multiple cells in batch.

merge_styles(parent, child)

Merges styles with caching.

new(char, style \\ nil)

Creates a new cell with caching.

warm_cache()

Warms up the cache with common values.