docs/reference: Add strings vs bytes to speed optimisation tips. · jepler/circuitpython@0a55f1f · GitHub
Skip to content

Commit 0a55f1f

Browse files
projectgusdpgeorge
authored andcommitted
docs/reference: Add strings vs bytes to speed optimisation tips.
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>
1 parent bab0998 commit 0a55f1f

3 files changed

Lines changed: 40 additions & 1 deletion

File tree

docs/library/array.rst

Lines changed: 4 additions & 0 deletions

docs/library/builtins.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Functions and types
1919

2020
.. class:: bytearray()
2121

22+
|see_cpython| `python:bytearray`.
23+
2224
.. class:: bytes()
2325

2426
|see_cpython| `python:bytes`.
@@ -104,6 +106,8 @@ Functions and types
104106

105107
.. class:: memoryview()
106108

109+
|see_cpython| `python:memoryview`.
110+
107111
.. function:: min()
108112

109113
.. function:: next()

docs/reference/speed_python.rst

Lines changed: 32 additions & 1 deletion

0 commit comments

Comments
 (0)