Signal-iOS/Scripts/sds_codegen
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
..
sds_config Handle isComplete during incoming contact syncs 2022-10-19 09:29:52 -07:00
Makefile codegen handles "id" type 2020-01-23 11:55:48 -07:00
sds_codegen_ssk_objc.sh Reduce statics. 2021-11-02 10:36:25 -03:00
sds_codegen.sh update templates 2019-11-04 14:06:54 -08:00
sds_common.py More Python 3 script fixes 2022-03-24 10:28:27 -05:00
sds_generate.py Prefer isEmpty with strings 2022-11-01 17:53:46 -05:00
sds_parse_objc.py Fix path to SignalServiceKit-prefix.pch (#4717) 2022-08-06 13:41:58 -07:00
sds_parse_swift_bridging.py Change license to AGPL 2022-10-13 08:25:37 -05:00
sds_regenerate.sh Update code generation to ensure consistent property ordering. 2019-11-05 10:15:07 -03:00
sds_swap_imports.py More Python 3 script fixes 2022-03-24 10:28:27 -05:00