Signal-iOS/SignalServiceKit/src/Network/API
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
..
Giphy Prefer isEmpty with strings 2022-11-01 17:53:46 -05:00
Requests Add FiatMoney type 2022-10-26 17:04:51 -05:00
ContactDiscoveryService.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
HTTPEntities.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
HTTPUtils.h Change license to AGPL 2022-10-13 08:25:37 -05:00
HTTPUtils.m Change license to AGPL 2022-10-13 08:25:37 -05:00
HTTPUtils.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
NetworkManager.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSDeviceProvisioningCodeService.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSDeviceProvisioningService.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSDevicesService.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSUpload.h Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSUpload.m Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSUpload.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSUploadOperation.h Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSUploadOperation.m Change license to AGPL 2022-10-13 08:25:37 -05:00
RESTNetworkManager.h Change license to AGPL 2022-10-13 08:25:37 -05:00
RESTNetworkManager.m Change license to AGPL 2022-10-13 08:25:37 -05:00
RESTNetworkManager.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalServiceProfile.swift Change license to AGPL 2022-10-13 08:25:37 -05:00