forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up formatting statistics data (home-assistant#88228)
* Speed up fetching statistics by using attrgetter Uses the faster native code vs a lambda https://github.com/python/cpython/blob/4aeae286715a3a9fa624429733582917606000c3/Modules/_operator.c#L1406 * avoid dict lookups * avoid dict lookups * naming * split * Revert "split" This reverts commit 0ead896. * Revert "Revert "split"" This reverts commit 20014af. * tweak * tweak * tweak * tweak * Revert "tweak" This reverts commit d5e4aac. * Revert "tweak" This reverts commit 0cebae3. * Revert "tweak" This reverts commit 0184e47. * comment * comment * comment * reduce local vars * less
- Loading branch information
Showing
1 changed file
with
57 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters