top | item 43825384

(no title)

hwpythonner | 10 months ago

Great question!

You're right that it can definitely be faster β€” there's real room for optimization.

When I have time, I may write a blog post that will explain where the cycles go, why it's different from raw assembler toggling, and how it could be improved.

Also, just to keep things in perspective β€” don't forget to compare apples to apples: On a Pyboard running MicroPython, a simple GPIO roundtrip takes about 14 microseconds. PyXL is already achieving 480 nanoseconds, so it’s a very different baseline.

Thanks for raising it β€” it's a very good point.

discuss

order

No comments yet.