public_host
|
c8172608e0
|
update
|
14 hours ago |
public_host
|
83068e469c
|
update
|
14 hours ago |
public_host
|
5c54cb6dff
|
update
|
14 hours ago |
public_host
|
9238fab32f
|
update
|
15 hours ago |
public_host
|
b1c52ceeed
|
update
|
15 hours ago |
public_host
|
af48d5a016
|
update
|
15 hours ago |
public_host
|
915e98a3ab
|
update
|
15 hours ago |
public_host
|
20786bdf41
|
update
|
15 hours ago |
public_host
|
33e8388b63
|
update
|
15 hours ago |
u
|
0a3e540562
|
GIT提交信息:
###
性能:改善节假日数据缓存和检索性能
-
- 在调用 `GetHolidaysDataWithCache` 时锁定和解锁 `holidayCache`
- 通过在调用 `GetHolidaysData` 之前检查缓存过期和空数据来提高性能
Signed-off-by: u <u@a.com>
###
|
2 years ago |
u
|
9b5034c1e3
|
重构:重构缓存机制以提高性能
-
将`holidayCache`从指针更新为值类型`cache`
-
Signed-off-by: u <u@a.com>
|
2 years ago |
u
|
2bada6fc51
|
GIT提交信息:
###
重构:改进节日数据检索的缓存机制
- 检查节日缓存中的空数据
- 改善节日数据检索的缓存机制
Signed-off-by: u <u@a.com>
###
|
2 years ago |
u
|
ef8affe24e
|
重构:删除冗余代码并改进缓存测试
-
- 在GetHolidaysDataWithCache函数中删除多余的锁定操作
- 在GetHolidaysDataWithCache函数中删除不必要的panic操作
- 在cache_test文件中添加缓存过期的测试。
Signed-off-by: u <u@a.com>
|
2 years ago |
u
|
75f0c54506
|
测试:改进核心功能中的缓存处理
- 在 cache_test.go 中添加缓存过期的测试
- 在 core.go 中,如果缓存中的数据为空,则添加 panic
Signed-off-by: u <u@a.com>
|
2 years ago |
u
|
7885302987
|
功能:添加缓存功能以改善核心部分中的假日数据检索
- 添加一个新文件'cache.go'
- 在'core.go'中将函数'GetHolidaysData'更改为'GetHolidaysDataWithCache'
- 添加一个缓存结构和相关函数到'core.go',用于缓存假日数据
- 在'core.go'中添加一个函数'jsonEncode',用于编码JSON数据。
Signed-off-by: u <u@a.com>
|
2 years ago |
u
|
ff86225e68
|
fix
|
3 years ago |
u
|
ad92af2d6e
|
fix
|
3 years ago |
u
|
4402e8c954
|
fix
|
3 years ago |
u
|
7ad2f23f21
|
fix
|
3 years ago |
u
|
5f6204217e
|
fix
|
3 years ago |
u
|
83f0683ebd
|
fix
|
3 years ago |
u
|
ad9e4a5d63
|
fix
|
3 years ago |
u
|
cd2cf83e2e
|
fix
|
3 years ago |
u
|
de8e5c4e32
|
fix
|
3 years ago |
u
|
de5b8e1533
|
fix
|
3 years ago |
u
|
720ab42d3c
|
fix
|
3 years ago |
u
|
449d38e5e6
|
fix
|
3 years ago |
u
|
3c9fdb9297
|
fix
|
3 years ago |
u
|
b58369b364
|
fix
|
3 years ago |
u
|
3f2303dbab
|
fix
|
3 years ago |
u
|
a13fad6dde
|
fix
|
3 years ago |
u
|
51a9509f7d
|
fix
|
3 years ago |
u
|
15a6183505
|
fix
|
3 years ago |
public_host
|
866d55a72a
|
fix
|
4 years ago |
黄梓健
|
cd39f7fb0b
|
core.go TimeArrow 添加 Extension
|
4 years ago |
public_host
|
391158aa6a
|
fix
|
4 years ago |
public_host
|
016c1c3fb9
|
fix
|
5 years ago |
3136352472
|
f146e5b8b7
|
优化
|
5 years ago |
3136352472
|
e39ee9dda4
|
fix
|
5 years ago |
3136352472
|
86624c9233
|
fix
|
5 years ago |
3136352472
|
237c7a3b97
|
fix
|
5 years ago |
3136352472
|
5fd4f3b7de
|
fix
|
5 years ago |
3136352472
|
be245a9d32
|
fix
|
5 years ago |
3136352472
|
a9d46e1d8f
|
init
|
5 years ago |
郑荣升
|
59fcf814d6
|
Initial commit
|
5 years ago |