Signal-iOS/SignalServiceKit
Jordan Rose 11cf13a255 Avoid intermediate copies when using dictionary keys as collections
The non-lazy map and filter always make a new array or dictionary,
which is often consumed immediately into a Set. Using `lazy` avoids
that intermediate allocation, as well as the need to loop over the
array or dictionary a second time.

This is a micro-optimization, but several of these accessors are
accessed fairly frequently, so we might as well make them faster.
2022-08-23 10:42:11 -07:00
..
protobuf Remove unused relay field from envelope proto 2022-07-29 11:35:55 -05:00
Resources Fix stories tab badging 2022-08-20 15:01:03 -07:00
src Avoid intermediate copies when using dictionary keys as collections 2022-08-23 10:42:11 -07:00
tests Fix ContactDiscoveryOperationTest 2022-08-22 09:11:42 -07:00
.clang-format Update clang-format with AllowShortEnumsOnASingleLine: false 2022-03-14 11:20:20 -07:00
.gitignore
.travis.yml
SignalServiceKit-Prefix.pch SignalServiceKit: no longer a separate pod 2022-08-05 16:14:15 -05:00
SignalServiceKit.h SignalServiceKit: no longer a separate pod 2022-08-05 16:14:15 -05:00