Reduce initial conversation load window size.

This commit is contained in:
Matthew Chen 2018-12-12 12:07:30 -05:00
parent 1f3e24ae47
commit 15826cec5d

View file

@ -101,7 +101,7 @@ NS_ASSUME_NONNULL_BEGIN
//
// 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.
static const int kYapDatabasePageSize = 25;
static const int kYapDatabasePageSize = 18;
// Never show more than n messages in conversation view when user arrives.
static const int kConversationInitialMaxRangeSize = 300;