Skip to content

Commit e2f61c2

Browse files
authored
Update readme.md
1 parent 4ed9e49 commit e2f61c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ print('Time taken (memoized function using manual decorator):', time.time() - st
158158
```
159159

160160
And here’s the output:
161+
161162
![](images/output_normal_memoized.png)
162163

163164
Notice the time difference between the two functions. Both take almost
@@ -231,6 +232,7 @@ print('Time taken (memoized function with LRU cache):', time.time() - start_time
231232
```
232233

233234
This produced the following output:
235+
234236
![](images/output_normal_lru.png)
235237

236238
### Performance comparison
@@ -248,6 +250,7 @@ three functions for different numbers of requests to these functions:
248250
As the number of requests to the functions increases, you can see a
249251
significant reduction in execution times using the caching strategy. The
250252
following comparison chart depicts these results:
253+
251254
![](images/comparison-chart.png)
252255

253256
The comparison results clearly show that using a caching strategy in

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy