Collections, Models, and the Cost of Each Object
Favor arrays for indexed access and avoid maps where keys are predictable. On Android, minimize boxing; on iOS, prefer value types wisely and avoid needless copies in hot paths.
Collections, Models, and the Cost of Each Object
Remove nullable fields you never use, compress booleans, and split large objects into feature-scoped pieces. Lazy-load heavy substructures when users actually need them.