Commit Graph

49 Commits

Author SHA1 Message Date
John
b89294561b add gmap.SetIfNotExistFunc/SetIfNotExistFuncLock for gmap; update comment of gmap; update instance feature of gcfg 2019-04-03 23:39:31 +08:00
John
8ae9276732 add disable cache feature option for package gspath 2019-03-12 00:24:31 +08:00
John
0f854e46d8 refact Merge function for garray; add more frequently-used type alias for gf 2019-02-22 09:08:46 +08:00
John
4564f38e1a add PopRands/Rands functions for garray 2019-02-20 19:06:08 +08:00
John
d780cf64c2 garray updates 2019-02-20 14:18:11 +08:00
John
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
John
1447496efa comments update 2019-02-02 14:22:32 +08:00
John
6fb9eafef0 garray updates 2019-02-02 09:07:40 +08:00
John
7b85c44444 add Clone for garray; comments of garray update 2019-02-01 22:00:58 +08:00
John
1afab62dec fulfil unit test cases for garray 2019-02-01 18:33:53 +08:00
John
4171ca992e add reverse feature for function Sort of normal array; fulfil unit test cases for StringArray 2019-02-01 18:14:12 +08:00
John
e1166a8a80 Merge branch 'master' into develop 2019-02-01 17:55:06 +08:00
John
ae1e075696 fix issue in binSearch of garray 2019-02-01 17:44:58 +08:00
John
74a7f71894 gset/gmap update 2019-02-01 17:30:23 +08:00
John
85677b952f fulfil funcs of gstr/gset/garray; move gstr/gregex to the string category; move gtest to the test category 2019-01-30 21:27:03 +08:00
John
72569321fa package comments update 2019-01-16 13:35:16 +08:00
John
0c41909454 pakage comments updates 2019-01-15 23:27:47 +08:00
John
f4644ce685 change func(xxx, safe...bool) to func(xxx, unsafe...bool); add new internal package mutex 2019-01-12 23:36:22 +08:00
John
33dd0f9922 timing wheel up 2019-01-11 13:46:40 +08:00
John
2063f662d3 fix silly issue in binary search of garray package, and add unit-test file for garray 2018-12-20 21:55:05 +08:00
John
60a571f291 Fix issue: add mutex lock for method Remove of garray. 2018-12-11 09:56:58 +08:00
John
51e70be04d Add rewrite feature to WebServer; Add Unique for un sorted array of garray; Fix map conversion issue of gjson. 2018-12-10 20:24:20 +08:00
John
b19e47783b ghttp增加静态文件目录映射功能;改进gspath目录管理功能;改进gconv的slice转换功能,并增加gconv.Map方法 2018-11-30 09:48:57 +08:00
John
aee266eea0 WebServer改进 2018-11-28 20:19:28 +08:00
John
5e7e1077a1 性能改进 2018-11-23 09:20:45 +08:00
John
e8101cb02f 性能改进中 2018-11-16 18:20:09 +08:00
john
8fe7ede3b9 完善garray接口定义 2018-10-30 18:52:47 +08:00
john
5997803f8d 改进garray排序数组 2018-10-16 18:12:50 +08:00
john
16dd4a92c1 去掉garray排序数组的length属性 2018-09-30 16:49:34 +08:00
john
0be5cd590b 修复garray排序数组Add可变参数问题 2018-09-30 16:32:12 +08:00
john
bd0df135c8 修复garray排序数组Add变参时的死锁问题 2018-09-30 15:44:48 +08:00
John
359b73e61c garray.Slice方法改进,gqueue改进 2018-09-16 10:51:02 +08:00
john
9d82bb3f2d 并发安全容器的并发安全方法改进 2018-09-06 14:48:55 +08:00
john
ebc10f7779 数据结构容器增加并发安全特性开启/关闭功能,当关闭后和普通的数据结构无异,非并发安全模式下性能会得到提高 2018-09-05 18:34:41 +08:00
John
84ac08fa99 改进garray包,gcache新增Contains/SetIfNotExist方法 2018-09-03 23:28:02 +08:00
john
735b27b534 改进garray二分查找方法 2018-08-23 17:24:24 +08:00
john
e54ae0e8d4 改进garray包,增加安全操作处理 2018-08-23 16:56:52 +08:00
zhangjinfu
612e9d77ca garray的int和string的search方法修改 2018-08-23 16:32:50 +08:00
john
6f88fee9ab 修复garray锁机制问题 2018-08-23 15:07:56 +08:00
John
cd9a25a996 优化框架gmap/gjson/gparser/gcfg包,增加常用的基本数据类型转换获取方法 2018-07-01 00:27:33 +08:00
GarfieldKwong
2c2b3afb01 修正garray的潜在问题。当函数中有任何错误发生的时候,互斥锁将不会被释放。 互斥所释放要用defer来确保执行。 2018-06-28 19:41:59 +08:00
John
46a01da07c 完善garray包注释 2018-04-26 08:43:02 +08:00
John
ca8d4999eb 修复garray中Remove方法的锁问题 2018-04-26 08:40:01 +08:00
John
383c662be0 garray完善 2018-04-17 18:01:41 +08:00
John
c35f873d3a 完成garray并发安全数组包开发 2018-04-16 21:01:23 +08:00
John
e3107bcc68 garray开发 2018-04-16 17:59:23 +08:00
John
a90783a91a garray开发中 2018-04-16 14:15:07 +08:00
John
4404721984 garray开发 2018-04-16 11:57:36 +08:00
John
a9f92d499c 新增garray并发安全数组包,开发中 2018-04-15 22:37:39 +08:00