Merge branch 'charlesmchen/reduceInitialConversationLoadWindowSize'

pull/1/head
Matthew Chen 6 years ago
commit 98210e92d8

@ -101,7 +101,7 @@ NS_ASSUME_NONNULL_BEGIN
// //
// PERF: we could do less messages on shorter (older, slower) devices // PERF: we could do less messages on shorter (older, slower) devices
// PERF: we could cache the cell height, since some messages will be much taller. // PERF: we could cache the cell height, since some messages will be much taller.
static const int kYapDatabasePageSize = 25; static const int kYapDatabasePageSize = 18;
// Never show more than n messages in conversation view when user arrives. // Never show more than n messages in conversation view when user arrives.
static const int kConversationInitialMaxRangeSize = 300; static const int kConversationInitialMaxRangeSize = 300;

Loading…
Cancel
Save