Skip to content

Commit

Permalink
Avoid fetching GImPlot multiple times when possible. (#468)
Browse files Browse the repository at this point in the history
In the case this is a thread_local variable it is best to avoid fetching too many times.
Either way local caching tends to be beneficial as a non-local variable would often be fetched multiple times.
  • Loading branch information
ocornut authored Apr 19, 2023
1 parent fb084f3 commit 18758e2
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 107 deletions.
Loading

0 comments on commit 18758e2

Please sign in to comment.