Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated build options to improve performance on esp-idf 4.4/5.x
Starting with esp-idf 4.4, build options `-fno-jump-tables -fno-tree-switch-conversion` are always used. [1] This is very bad for us because most emulators rely on switches being converted to jump tables. This patch brings performance back to parity with 4.3. 1. https://github.com/espressif/esp-idf/releases/tag/v4.4: > Always compile with -fno-jump-tables -fno-tree-switch-conversion by default. This could results in performance regression for code that relies heavily on this optimization. See api-guides/memory-types.rst for how to enable it for specific source files if necessary.
- Loading branch information