Lioncash
83c9af9153
CPlayerState: Make g_typeNameMap a compile-time array
...
While useful as a map, this causes an allocation that occurs during
program start and lasts until the program terminates, even if the
relevant code is never executed.
Given the total number of elements is quite small, we can convert this
into a compile-time array and perform the lookup with that instead.
While we're at it, we can eliminate an unnecessary second lookup into
said array by reusing the iterator from the first find.
2020-03-21 00:57:05 -04:00
..
2020-02-28 11:16:57 -05:00
2020-03-18 01:01:45 -04:00
2020-03-13 15:30:59 -07:00
2020-03-18 00:45:49 -04:00
2020-03-18 01:04:19 -04:00
2020-03-18 01:03:04 -04:00
2020-03-18 01:05:30 -04:00
2020-03-18 01:09:09 -04:00
2020-03-17 19:15:09 -04:00
2015-08-17 12:05:00 -10:00
2015-08-17 12:05:00 -10:00
2020-03-13 17:14:44 -04:00
2017-02-08 23:23:17 -10:00
2020-03-17 21:55:24 -04:00
2020-03-18 00:45:49 -04:00
2019-09-22 20:36:33 -04:00
2020-03-14 21:42:38 -04:00
2019-09-22 20:36:33 -04:00
2019-12-22 18:12:04 -05:00
2019-09-08 18:18:29 -04:00
2019-09-08 18:18:29 -04:00
2019-12-22 18:12:04 -05:00
2019-09-22 20:36:33 -04:00
2019-12-22 18:12:04 -05:00
2019-09-22 20:36:33 -04:00
2018-12-07 19:30:43 -10:00
2020-03-09 12:19:58 -04:00
2020-03-09 12:04:51 -04:00
2020-03-13 17:14:44 -04:00
2019-09-22 20:36:33 -04:00
2018-12-07 19:30:43 -10:00
2020-03-15 19:45:02 -04:00
2020-03-15 19:45:02 -04:00
2020-03-14 20:09:23 -04:00
2020-03-14 20:09:23 -04:00
2019-12-22 18:12:04 -05:00
2019-09-22 20:36:33 -04:00
2017-02-09 23:00:57 -10:00
2019-12-22 18:12:04 -05:00
2019-12-10 20:51:33 -08:00
2019-09-22 20:36:33 -04:00
2019-09-30 18:20:11 -04:00
2019-12-22 18:12:04 -05:00
2019-09-22 20:36:33 -04:00
2019-12-22 18:12:04 -05:00
2019-09-22 20:36:33 -04:00
2019-12-10 20:51:33 -08:00
2020-01-20 20:00:40 -08:00
2020-03-14 22:18:42 -04:00
2019-08-26 15:03:58 -04:00
2019-08-26 15:03:58 -04:00
2019-12-22 18:12:04 -05:00
2019-09-22 20:36:33 -04:00
2020-03-07 09:14:07 -08:00
2020-03-17 22:38:21 -04:00
2019-12-22 18:12:04 -05:00
2019-11-21 07:37:08 -08:00
2020-03-21 00:57:05 -04:00
2020-03-21 00:57:05 -04:00
2019-09-23 17:22:37 -04:00
2019-12-22 18:12:04 -05:00
2019-09-23 17:22:37 -04:00
2020-03-18 01:03:35 -04:00
2020-03-18 01:03:35 -04:00
2020-03-07 03:56:16 -05:00
2019-10-01 06:41:55 -07:00
2019-12-22 18:12:04 -05:00
2019-11-21 07:37:08 -08:00
2020-03-13 17:14:44 -04:00
2019-09-23 17:22:37 -04:00
2019-12-22 18:12:04 -05:00
2019-09-23 17:22:37 -04:00
2019-12-22 18:12:04 -05:00
2019-12-14 15:50:29 -08:00
2019-12-22 18:12:04 -05:00
2019-09-15 19:27:19 -04:00
2020-03-18 01:18:00 -04:00
2020-03-17 23:10:41 -04:00
2019-12-22 18:12:04 -05:00
2019-09-23 17:22:37 -04:00
2019-09-23 17:22:37 -04:00
2019-09-28 08:00:49 -07:00
2019-12-10 20:51:33 -08:00
2019-12-10 20:51:33 -08:00
2019-12-22 18:12:04 -05:00
2018-12-07 19:30:43 -10:00
2019-12-22 18:12:04 -05:00
2020-03-08 21:13:37 -04:00
2019-12-22 18:12:04 -05:00
2020-02-16 00:10:08 -08:00
2020-03-06 04:36:39 -05:00
2020-03-06 04:36:39 -05:00
2018-12-07 19:30:43 -10:00
2019-09-30 21:41:42 -10:00
2019-09-23 17:22:37 -04:00
2019-09-23 17:22:37 -04:00
2019-09-23 17:22:37 -04:00
2019-09-23 17:22:37 -04:00
2019-11-09 02:57:39 -05:00
2019-09-23 17:22:37 -04:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-09-30 02:56:00 -04:00
2019-10-17 22:15:25 -04:00
2020-01-15 09:15:47 -05:00
2019-09-30 09:00:17 -04:00
2019-10-19 02:06:33 -04:00