Merge branch 'main' of git.arirex.me:iris/ai-app
This commit is contained in:
commit
3095052df0
5 files changed
+101
-31
No files matched your search
@@ -88,13 +88,15 @@ private val LOADING_SPINNER = 48.dp
|
||||
* row is anything from one line to a page and a fixed count is therefore a distance only by
|
||||
* accident. Eight rows was the number, and on a tool-heavy transcript eight rows is less than one
|
||||
* screen: the reader reached the end of what was loaded on *every* swipe and waited a round trip
|
||||
* standing there. That is what "scrolling is laggy" turned out to be -- not a slow frame, but the
|
||||
* list running out of transcript, which the emulator showed as a swipe that moved nothing for 689ms
|
||||
* and then jumped.
|
||||
* standing there, which is a list running out of transcript rather than a slow frame.
|
||||
*
|
||||
* Three, so a fling lands on rows that are already there and the page after them is on its way. The
|
||||
* cost of being generous is a page fetched that nobody reads; the cost of being mean is a list that
|
||||
* stops under a finger, and those are not the same size.
|
||||
*
|
||||
* Counted at the server rather than inferred from the screen, which is the only measurement here
|
||||
* that does not depend on how the emulator renders: against a 24,000-event transcript at `--delay
|
||||
* 120`, ten swipes asked for **ten** pages before this and **three** after.
|
||||
*/
|
||||
private const val HISTORY_SCREENS = 3
|
||||
|
||||
|
||||
Reference in new issue
Block a user