Skip to content

Commit

Permalink
regular
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpchen committed Dec 7, 2023
1 parent 5522dd9 commit 98c9980
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ VectorObjectAdapter vecAdapter = new(vec);
Geometry.Draw(vecAdapter);
```

![first-run](../pics/adapter-caching-first-run.png "first-run")
<!-- ![first-run](../pics/adapter-caching-first-run.png "first-run") -->

However if you draw it twice, problem comes.
If you want to draw a geometry in a diagram, it should be drew only once, or it may cause a bunch of memory issues and looks bad when displayed.

![second-run](../pics/adapter-caching-second-run.png)
<!-- ![second-run](../pics/adapter-caching-second-run.png) -->

### Solution - Apply Caching

Expand Down

0 comments on commit 98c9980

Please sign in to comment.