Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gemini/styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ When reviewing a pull request, focus on the following key areas:
* Scan for inefficient operations, especially within Composable functions (e.g., expensive calculations, improper state management leading to excessive recompositions).
* Analyze camera configurations and use cases for potential performance bottlenecks.
* Ensure coroutines and asynchronous operations are used efficiently.
* **Deferred State Reading with Lambdas:** Pass lambda providers `() -> T` instead of raw values `T` to child composables when dealing with high-frequency updates (e.g., timers), to isolate recompositions to the child component. [Introduced in PR #515]
* **State Conflation in Adapters:** High-frequency stream data (e.g., nanosecond timestamps) should be rounded or conflated at the `UiStateAdapter` level before reaching the UI state, to avoid unnecessary recompositions. [Introduced in PR #514]

4. **Jetpack Compose & CameraX Usage**
Expand Down
Loading
Loading