commit | 9d4e5d0f25dd592316d1728f95f40fe5967b120c | [log] [tgz] |
---|---|---|
author | Matthias Clasen <mclasen@redhat.com> | Thu Aug 20 23:45:19 2020 -0400 |
committer | Matthias Clasen <mclasen@redhat.com> | Tue Aug 25 12:15:18 2020 -0400 |
tree | 1cfc1ed50cbd605fcf1b9d53a728428169b23f33 | |
parent | 922168afe8bf48e872dc0a808fadefaa798a42ce [diff] |
Speed up FcConfigCompareValue Make FcConfigPromote use a switch instead of an if-else cascade, and avoid calling it when we can. Note that we need to add a case for integers in FcConfigCompareValue, since we are no longer promoting integers to doubles unconditionally.