Glint Dev 28bd450787 Phase 8: StyleCache memoization
Add StyleCache struct with hash-keyed LRU-eviction strategy and
integrate into StyleSheet via Mutex<StyleCache> so no signature
changes are needed on evaluate_vdom_incr.

- StyleCache::get_or_compute hashes (type_name, props, epoch) -> ComputedStyle
- LRU: full clear on overflow (max 1024)
- RefCell avoided in favor of Mutex so StyleSheet remains Sync
  for parallel matching_rules_batch
- Manual Clone impl skips cache (fresh cache on clone)
- Call sites in evaluate_vdom_incr switched from ComputedStyle::compute
  to stylesheet.compute_cached
- Cache cleared in build_index after epoch increment (stale entries)
2026-07-24 18:47:41 +03:00
2026-07-24 18:47:41 +03:00
2026-07-22 14:21:24 +03:00
2026-07-08 23:45:37 +03:00
2026-07-08 23:45:37 +03:00
2026-07-08 23:45:37 +03:00
2026-06-02 12:56:38 +03:00
2026-07-08 23:45:37 +03:00
2026-07-08 23:45:37 +03:00
2026-06-02 13:06:12 +03:00

Glint

A specialized runtime and interpreter for Glint markup/style language, based on Iced

About Glint Runtime

Description
No description provided
Readme 473 KiB
Languages
Rust 100%