summaryrefslogtreecommitdiffstatshomepage
path: root/docs/reference/speed_python.rst
Commit message (Collapse)AuthorAge
* all: Upgrade codespell to v2.4.1.Christian Clauss2025-02-25
| | | | | | | This commit upgrades from codespell==2.2.6 to the current codespell==2.4.1, adding emac to the ignore-words-list. Signed-off-by: Christian Clauss <cclauss@me.com>
* docs/reference: Add strings vs bytes to speed optimisation tips.Angus Gratton2025-02-11
| | | | | | | | | Also add some additional context links, suggestions for alternative classes, etc. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
* docs/reference/speed_python: Remove 4-arg limit for viper.Jim Mussared2023-05-23
| | | | | | This limit was removed in a676b5acf6ee9c17926cf9786370d30a077d99c0. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* docs: Remove trailing spaces and convert tabs to spaces.Damien George2021-12-15
| | | | Signed-off-by: Damien George <damien@micropython.org>
* docs/reference: Mention that slicing a memoryview causes allocation.Peter Hinch2021-08-30
|
* docs: Replace ufoo with foo in all docs.Jim Mussared2021-08-13
| | | | | | | | | | | | | | | | | | | | | | Anywhere a module is mentioned, use its "non-u" name for consistency. The "import module" vs "import umodule" is something of a FAQ, and this commit intends to help clear that up. As a first approximation MicroPython is Python, and so imports should work the same as Python and use the same name, to a first approximation. The u-version of a module is a detail that can be learned later on, when the user wants to understand more and have finer control over importing. Existing Python code should just work, as much as it is possible to do that within the constraints of embedded systems, and the MicroPython documentation should match the idiomatic way to write Python code. With universal weak links for modules (via MICROPY_MODULE_WEAK_LINKS) users can consistently use "import foo" across all ports (with the exception of the minimal ports). And the ability to override/extend via "foo.py" continues to work well. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* docs: More consistent capitalization and use of articles in headings.Jason Neal2020-01-06
| | | | See issue #3188.
* docs: Fix spelling in various parts of the docs.Mike Causer2019-10-16
|
* docs/reference/speed_python: Add missing self to var caching example.Paul m. p. P2019-08-28
|
* docs/reference/speed_python: Update that read-only buffers are accepted.Peter Hinch2019-08-19
| | | | As allowed by recent cd35dd9d9a29836906acdce60c931f6352b536d0
* py: Implement a module system for external, user C modules.Ayke van Laethem2019-03-08
| | | | | | This system makes it a lot easier to include external libraries as static, native modules in MicroPython. Simply pass USER_C_MODULES (like FROZEN_MPY_DIR) as a make parameter.
* docs: Fix some references and RST markup to eliminate Sphinx warnings.Damien George2018-03-15
|
* docs/ref/speed_python: Update and make more hardware-neutral.Paul Sokolovsky2017-06-26
| | | | | | | | Move hardware-specific optimizations to the very end of document, and add visible note that it gives an example for Pyboard. Remove references to specific hardware technologies, so the doc can be more naturally used across ports. Various markup updates to adhere to the latest docs conventions.
* docs/*/quickref.rst: Use new semantics of ticks_diff()puuu2016-11-08
|
* docs/speed_python: Add article.Paul Sokolovsky2016-04-15
|
* docs/speed_python: Add many more details on memoryviews.Paul Sokolovsky2016-04-15
|
* docs/speed_python: Generalize "Floating point" subsection.Paul Sokolovsky2016-04-15
| | | | | Don't describe just single port's peculiarities, note aboute possible array of issues with floating-point.
* docs/speed_python: Clarify/generalize "Buffers" subsection.Paul Sokolovsky2016-04-15
|
* docs: Add Python speed optimisation guide, including minimal viper ref.Peter Hinch2016-03-11