This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Settings for clean markdown on Random Geekery | |
| # See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md | |
| # | |
| # Some rules override others, but I'm not sure which. | |
| default: True | |
| # MD001: heading-increment | |
| MD001: True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Count the prime numbers in the range [1, n]. | |
| Comparing the same code in pure python, Numba, and Taichi. This is the sort | |
| of thing that happens when I have coffee and time on my hands. | |
| while looking at the `taichi docs`_. | |
| .. _Taichi docs: https://docs.taichi-lang.org/docs/accelerate_python |
OlderNewer