mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[api] Mark APIConnection as final for compiler optimizations (#10279)
This commit is contained in:
		| @@ -44,7 +44,7 @@ static constexpr size_t MAX_PACKETS_PER_BATCH = 64;  // ESP32 has 8KB+ stack, HO | ||||
| static constexpr size_t MAX_PACKETS_PER_BATCH = 32;  // ESP8266/RP2040/etc have smaller stacks | ||||
| #endif | ||||
|  | ||||
| class APIConnection : public APIServerConnection { | ||||
| class APIConnection final : public APIServerConnection { | ||||
|  public: | ||||
|   friend class APIServer; | ||||
|   friend class ListEntitiesIterator; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user