Signal-iOS/SignalMessaging/attachments
Evan Hahn a941c82c14
Prefer isEmpty with strings
This change may improve performance slightly but should have no other
user impact.

`myString.isEmpty` is faster than `myString.count == 0` or equivalent,
because computing `count` may require iterating over the string.

I tried to fix all occurrences of this.

Tested this by sending a message in a group and doing a full
re-registration, just in case I broke something there.
2022-11-01 17:53:46 -05:00
..
BroadcastMediaMessageJob.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalAttachment.swift Prefer isEmpty with strings 2022-11-01 17:53:46 -05:00
SignalAttachment+VideoSegmenting.swift Change license to AGPL 2022-10-13 08:25:37 -05:00