Commit Graph

26 Commits

Author SHA1 Message Date
Kevin Wan
457048bfac
fix golint issues in core/collection, refine cache interface (#475) 2021-02-18 15:49:56 +08:00
Kevin Wan
5e969cbef0
fix golint issues, else blocks (#457) 2021-02-09 13:50:21 +08:00
Kevin Wan
b88ba14597
fixes issue #425 (#438) 2021-02-05 13:32:56 +08:00
理工男
7b3c3de35e
ring struct add lock (#434)
Co-authored-by: liuhuan210 <liuhuan210@jd.com>
2021-02-03 21:41:10 +08:00
Kevin Wan
57b73d8b49
make sure offset less than size even it's checked inside (#354) 2021-01-05 16:06:36 +08:00
Kevin Wan
a79cee12ee
add godoc for RollingWindow (#351) 2021-01-04 22:43:55 +08:00
zjbztianya
7a921f66e6
simple rolling windows code (#346) 2021-01-04 22:11:18 +08:00
Kevin Wan
0786862a35
align bucket boundary to interval in rolling window (#345) 2021-01-04 11:17:59 +08:00
Kevin Wan
771371e051
simplify rolling window code, and make tests run faster (#343) 2021-01-03 20:47:29 +08:00
zjbztianya
2ee95f8981
fix rolling window bug (#340) 2021-01-03 20:27:47 +08:00
benying
7d1b43780a
some optimize by kevwan and benying (#240)
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
2020-12-01 06:44:32 +08:00
Kevin Wan
4b5c2de376
simplify code (#234)
* simplify code, format makefile

* simplify code
2020-11-29 12:41:42 +08:00
Kevin Wan
e5c560e8ba
simplify code, format makefile (#233) 2020-11-28 22:27:58 +08:00
xuezonggui
bed494d904
optimization (#221) 2020-11-28 19:43:39 +08:00
kevin
295c8d2934 fix issue #205 2020-11-16 19:23:24 +08:00
kevin
fe3739b7f3 fix golint issues 2020-10-16 11:13:55 +08:00
kevin
94645481b1 fix golint issues 2020-10-16 10:50:43 +08:00
kevin
8291eabc2c assert len > 0 2020-10-15 14:25:10 +08:00
kevin
c824e9e118 fail fast when rolling window size is zero 2020-10-15 11:40:31 +08:00
kevin
6749c5b94a add more tests 2020-10-04 17:52:54 +08:00
kevin
a958400595 rename prommetric to prometheous, add unit tests 2020-09-27 16:14:16 +08:00
kevin
ff112fdaee query from cache first when do cache.Take 2020-09-26 21:58:46 +08:00
kevin
5e7b514ae2 make tests parallel 2020-08-21 23:15:45 +08:00
kevin
9e14820698 fix golint warnings 2020-08-19 16:00:55 +08:00
kevin
0a7e0cce77 update package reference 2020-08-08 16:40:10 +08:00
kevin
7e3a369a8f initial import 2020-07-26 17:09:05 +08:00