mirror of
https://github.com/esphome/esphome.git
synced 2026-09-01 10:36:01 +00:00
5f91c963065b5ab71b90ee1bfbc7d987888519c0
Factor 1000 as 8 * 125. The divide-by-8 is a free right-shift, then Euclidean decomposition with D=125 has a smaller remainder (R=46 vs R=296), making hi*R cheaper and the safe input range 51x wider (~3.2e18 vs ~6.2e16 microseconds). Benchmarked ~7% faster than the divide-by-1000 variant on ESP32 classic (257 ns vs 277 ns per call at 240 MHz). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
587 MiB
Languages
C++
56.1%
Python
43.3%
C
0.3%
JavaScript
0.2%
