uniwix / casioplot

Python module that allows to use the casioplot module in your computer.
MIT License
9 stars 2 forks source link

add a section about performance in the README #11

Closed miguelTorrinhaPereira closed 3 months ago

miguelTorrinhaPereira commented 3 months ago

If you use too much show_screen() the computer will be slower than the calculator, otherwise, it will be faster.

for x in range(100):
    for y in range(100):
         set_pixel(x, y)
show_screen()

is faster in the computer, but

for x in range(100):
    for y in range(100):
         set_pixel(x, y)
         show_screen()

is slower