forked fromsigmavirus24/github3.py
- Notifications
You must be signed in to change notification settings - Fork3
Commita246889
committed
Simple cache for URL building.
If someone uses this module for a long enough period of time, it is likelythat they will end up having to rebuild the same URL more than once. Thisshould speed up any subsequent calls for it.If a problem arises from this, I may end up using a caching module to evictold/unused cache entries, but I somehow doubt this will cause problems at all.1 parent23f6dc7 commita246889
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
| 14 | + | |
13 | 15 |
| |
14 | 16 |
| |
15 | 17 |
| |
| |||
105 | 107 |
| |
106 | 108 |
| |
107 | 109 |
| |
108 |
| - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
109 | 114 |
| |
110 | 115 |
| |
111 | 116 |
| |
|
0 commit comments
Comments
(0)