Signal-iOS/SignalServiceKit
George Nachman 07d3ce2dec Increase the size of the sticker LRU cache.
We ship with 49 stickers and the previous cache size of 32 led to
thrasing every time a chat was opened.

Since sticker packs can be as large as 200 stickers and we hold three
pages in cache while the keyboard is open, increase the cache size for
the main app to 600. For the share extension, make it 64 to minimize
memory use while avoiding threashing.

The cost of this cache is just the sticker metadata (unique ID, emoji
description, etc.) so it won't make much difference in memory
utilization.
2022-02-02 13:07:01 -08:00
..
protobuf Ignore messages with StoryContext 2022-01-26 10:28:52 -08:00
Resources Add support for new certificate authority 2022-01-26 12:59:45 -06:00
src Increase the size of the sticker LRU cache. 2022-02-02 13:07:01 -08:00
tests Disable broken test 2022-02-01 10:23:40 -08:00
Utilities Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00
.clang-format
.gitignore
.travis.yml
CONTRIBUTING.md Update URL in documentation 2021-08-24 22:46:06 -05:00
LICENSE
README.md Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00

SignalServiceKit

SignalServiceKit is an Objective-C library for communicating with the Signal messaging service for iOS & OS X

To use SignalServiceKit via CocoaPods add the following to your Podfile

pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git'