42 Commits

Author SHA1 Message Date
lion
9a14e32736 add xdb file verify util and call it before the search/bench test 2025-09-16 12:35:22 +08:00
lion
7bbe7d681d PHP binding IPv6 supports is ready 2025-09-15 15:22:49 +08:00
lion
95c129c7d1 PHP IPv6 supporting 2025-09-14 23:14:42 +08:00
lion
4996c0ff6a add in-memory search supports when the xdb file size exceeds 2^31 - 1 2025-08-22 19:10:51 +08:00
lion
73e4e6047f add batch test script 2025-06-19 15:08:52 +08:00
Lion
fd0a6e09f4 auto close the handle after buffer loaded 2022-07-20 16:38:43 +08:00
Lion
91d0c39f11 add another php composer addr 2022-07-20 14:18:29 +08:00
Lion
78f4794926 add third composer repo for php 2022-07-08 11:15:40 +08:00
Lion
fa42e387a3 fix the doc errors reported by https://github.com/lionsoul2014/ip2region/pull/232 2022-06-30 22:10:24 +08:00
Lion
7942816fad update the docs 2022-06-29 17:52:43 +08:00
Lion
3c8569152f optimize the php docs 2022-06-24 12:43:33 +08:00
Lion
00b3b4c76d update the marks for xdb cached search 2022-06-24 12:24:16 +08:00
Lion
5a8a22a01c count maybe 0 2022-06-24 11:52:06 +08:00
lion
734ac597ea it should be the cols 2022-06-23 17:03:25 +08:00
lion
11df874b5d reduce the data copy for vectorIndex search with content cached 2022-06-23 15:03:18 +08:00
lion
5b058d2a8a optimize the bench average costs stats 2022-06-23 14:57:02 +08:00
lion
9659a920e9 content buffer directly as vectorIndex 2022-06-23 14:52:39 +08:00
lion
ca6b26c53a remove the vectorIndex autoload for buffer based searcher to reduce memory usage 2022-06-23 11:42:28 +08:00
Lion
a835d15d0a update docs 2022-06-22 19:23:03 +08:00
Lion
ee1c22f932 add docs for php binding 2022-06-22 19:21:08 +08:00
Lion
d482335ca2 add bench test script 2022-06-22 18:49:02 +08:00
Lion
fc843205d5 util test script to test all the utils functions 2022-06-22 18:06:50 +08:00
Lion
bf0f413a22 xdb searcher util and tests 2022-06-22 17:36:01 +08:00
lion
6149b68a84 add php xdb searcher impl 2022-06-21 18:02:54 +08:00
lion
d746d5d4b2 init the v2.0 framework with v1.0 source kept 2022-06-16 16:27:56 +08:00
lion
1e2544cc57 archive the v1.0 - old db structure 2022-06-16 16:25:31 +08:00
lionsoul
3d69968290 Lua binding completed(tested) 2018-10-03 20:05:14 +08:00
lionsoul
92684b1183 lua binding forward with binarySearch and btreeSearch interface implemented 2018-10-03 13:12:05 +08:00
lionsoul
932a5d80b4 lua binding basic framework with memory search completed(tested) 2018-10-02 22:36:57 +08:00
Felix Yan
c9bf99d07f Fix some typos in Ip2Region.class.php 2018-06-28 02:00:05 +08:00
Wei.Jiang
d0c5ea05b6 重命名 php 测试脚本
重命名 php 测试脚本,与 README 和其他语言脚本名保持一致
2018-06-26 11:05:48 +08:00
lionsoul
5f3bddec08 Bug fixed: Adjust the super header length to 8192 for all client implementation 2017-10-21 12:47:24 +08:00
dongyado
81c495058c fix ip2long/getLong function return unsigned int ip value on 32-bit operating system 2016-07-03 00:35:48 +08:00
lionsoul
dbf94ef586 remove the debug info 2016-06-30 16:05:16 +08:00
lionsoul
e436094563 add #memorySearch interface for purge memory search 2016-06-30 16:04:02 +08:00
lionsoul
6bf163230b stdlize the code style 2016-04-07 14:33:58 +08:00
狮子的魂
83d7586c84 conflicts fixed 2015-12-08 21:48:39 +08:00
狮子的魂
9b0b7e8ebd conflicts fixed 2015-12-08 21:41:34 +08:00
狮子的魂
f0c91e70b9 conflicts fixed 2015-12-08 21:40:44 +08:00
chenxin
41617aac4d code tab to 4 space 2015-12-07 11:27:14 +08:00
chenxin
56c83f3895 optimized the header block size & fix the may comming leak for c binding 2015-11-05 12:48:24 +08:00
狮子的魂
a7021dc12a yat, hello ip2region 2015-11-02 01:12:43 +08:00