perf: optimize min/max implementation
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 3 Sep 2023 14:02:10 +0000 (16:02 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 3 Sep 2023 14:02:10 +0000 (16:02 +0200)
commit5adf6ca45d6644c0969ca1d60ac1b9dc0b7810f6
tree16accedef6fef9c1d559f102ae3cdd93d4ed5f2e
parent1e4afa08e53b964abbb65ac4aadf0850cccf1e78
perf: optimize min/max implementation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ChargingStation.ts
src/charging-station/ocpp/OCPPServiceUtils.ts
src/performance/PerformanceStatistics.ts
src/utils/Utils.ts
src/utils/index.ts
test/utils/Utils.test.ts