Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite2f61c2

Browse files
authored
Update readme.md
1 parent4ed9e49 commite2f61c2

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)

[8]ページ先頭

©2009-2025 Movatter.jp