black-sliver
fc2855ca6d
Stardew Valley: speed up rules creation by 4% ( #2371 )
...
* Stardew Valley: speed up rules creation by 4%
No class should ever inherit from And, Or, False_ or True_ and isinstance is not free.
Sadly there is no cheap way to forbid inheritance, but it was tested using metaclass.
* Stardew Valley: save calls to type()
Local variable is a bit faster than fetching type again
* Stardew Valley: save calls to True_() and False_(), also use 'in' operator
* Stardew Valley: optimize And and Or simplification
* Stardew Valley: optimize logic constructors
2023-10-27 18:09:12 +02:00
..
2023-10-27 06:14:25 +02:00
2023-09-15 02:22:10 +02:00
2023-07-05 22:39:35 +02:00
2023-10-25 21:23:52 +02:00
2023-05-01 02:03:31 +02:00
2023-10-24 02:20:08 +02:00
2023-09-30 21:03:55 +02:00
2023-10-25 10:22:09 +02:00
2023-10-07 16:44:01 +02:00
2023-07-19 17:16:03 -05:00
2023-09-30 12:32:44 +02:00
2023-10-22 02:02:30 +02:00
2023-10-26 00:51:32 +02:00
2023-09-26 01:08:56 +02:00
2023-10-22 02:02:30 +02:00
2023-10-24 02:20:08 +02:00
2023-10-22 13:11:19 +02:00
2023-10-16 19:59:07 -05:00
2023-10-18 21:50:57 +02:00
2023-09-10 03:30:03 +02:00
2023-10-22 02:02:30 +02:00
2023-10-23 22:20:27 +02:00
2023-02-14 01:06:43 +01:00
2023-10-25 09:56:56 +02:00
2023-10-08 12:08:47 +02:00
2023-07-21 12:00:44 -05:00
2023-10-23 15:39:37 -05:00
2023-07-18 21:51:01 -05:00
2023-10-27 15:43:36 +02:00
2023-10-20 01:36:18 +02:00
2023-10-27 06:12:04 +02:00
2023-09-15 09:30:46 +02:00
2023-02-14 01:06:43 +01:00
2023-10-10 22:30:20 +02:00
2023-08-01 08:15:28 +02:00
2023-09-22 21:27:46 +02:00
2023-10-22 02:02:30 +02:00
2023-09-10 03:51:12 +02:00
2023-10-22 02:02:30 +02:00
2023-10-22 02:02:30 +02:00
2023-10-25 09:34:59 +02:00
2023-07-22 00:51:13 -05:00
2023-10-27 18:09:12 +02:00
2023-10-26 00:03:14 +02:00
2023-10-24 07:27:57 +02:00
2023-10-27 12:01:46 +02:00
2023-10-22 02:02:30 +02:00
2023-09-22 20:45:52 -04:00
2023-04-07 19:03:28 -05:00
2023-07-19 01:59:41 +02:00
2023-10-22 06:48:06 +02:00
2023-10-22 02:02:30 +02:00
2023-06-20 01:01:18 +02:00
2022-10-25 19:54:43 +02:00
2023-10-24 02:20:08 +02:00
2022-10-13 07:45:52 +02:00
2023-10-27 06:14:25 +02:00