paginateBackMessagesToFillRect : it should not only compute the height of visible cells because this cached values make the scroll back faster.
paginateBackMessagesToFillRect : it should not only compute the height of visible cells because this cached values make the scroll back faster.

The cell dequeue method calls cellHeightAtIndex to init the new one.
Have cached height can save several ms and it reduces the scroll lags.

It is longer to initialize the loaded messages but the scroll is faster.

matrix-org/matrix-ios-kit,matrix-org/matrix-ios-kit,matrix-org/matrix-ios-kit,matrix-org/matrix-ios-kit