Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adafruit/Adafruit_CircuitPython_Display_Shapes
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.8.1
Choose a base ref
...
head repository: adafruit/Adafruit_CircuitPython_Display_Shapes
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.8.2
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 13, 2024

  1. selectively update lines in add_values

    `add_values` would repeatedly call `update` for each line where a value was added, and `update` calls `_draw` which re-draws _all_ lines each time it is called.
    
    By keeping track of lines that need to be updated and only calling `update` once at the end of `add_values`, we avoid $(n-1)^2$ spurious line re-draws.
    Karel-Kroeze committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    5b7283e View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Merge pull request #69 from Karel-Kroeze/main

    reduce unnecessary redrawing of lines in `MultiSparkLine.add_values()`
    tannewt authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    f90a7cb View commit details
    Browse the repository at this point in the history
Loading