-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Being annoyed at caching" | ||
published: 3-4-2024 | ||
summary: "Caching is useful for usability and performance. Gone wrong it's a debugging nightmare." | ||
--- | ||
|
||
Basically the summary says my thoughts. I don't have much of an opinion here, though I did have this once where I debugged a codebase that pretty exclusively dealt in immutable objects and `tracemalloc` was so useful there. Imagine being able to find where your objects were changed! Without a `rr` for Python, this is pretty much the next best thing. | ||
|
||
Also just make sure it isn't caching before doing some more detailed debugging. |