micropython/ports
Jim Mussared dfe232d000 py/builtinimport: Remove weak links.
In order to keep "import umodule" working, the existing mechanism is
replaced with a simple fallback to drop the "u".

This makes importing of built-ins no longer touch the filesystem, which
makes a typical built-in import take ~0.15ms rather than 3-5ms.

(Weak links were added in c14a81662c)

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-06-08 17:54:04 +10:00
..
bare-arm
cc3200 py/builtinimport: Remove weak links. 2023-06-08 17:54:04 +10:00
embed
esp32 all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2023-06-08 17:53:57 +10:00
esp8266 all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2023-06-08 17:53:57 +10:00
mimxrt all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2023-06-08 17:53:57 +10:00
minimal all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
nrf py/builtinimport: Remove weak links. 2023-06-08 17:54:04 +10:00
pic16bit
powerpc all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
qemu-arm all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2023-06-08 17:53:57 +10:00
renesas-ra all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2023-06-08 17:53:57 +10:00
rp2 all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2023-06-08 17:53:57 +10:00
samd py/builtinimport: Remove weak links. 2023-06-08 17:54:04 +10:00
stm32 all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2023-06-08 17:53:57 +10:00
teensy ports: Standardise docs link in help text. 2023-06-02 11:48:46 +10:00
unix all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2023-06-08 17:53:57 +10:00
webassembly
windows py/builtinimport: Remove weak links. 2023-06-08 17:54:04 +10:00
zephyr py/builtinimport: Remove weak links. 2023-06-08 17:54:04 +10:00