Loading
refactor: reuse rating formatters in list rendering paths
Before: - each rating format call created and configured a new NumberFormat - Compose list items also did locale lookup inside per-item UI-state mapping After: - the formatter is created once per relevant UI scope and reused for visible items - per-item work is reduced to formatting the value, not rebuilding formatter state each time Why this was done: - rating formatting happens during list rendering and rebinding - repeated NumberFormat allocation is avoidable work - caching at UI scope keeps the optimization local and avoids a shared global NumberFormat, which would be risky because it is mutable and not thread-safe