72 Commits

Author SHA1 Message Date
lionsoul2014
7f454276a1 remove the err declare 2025-12-07 00:45:01 +08:00
lionsoul2014
2fbf899140 title the bench blocks 2025-12-07 00:41:28 +08:00
lionsoul2014
72912301ee bold the service use tips 2025-12-07 00:39:45 +08:00
lionsoul2014
6531f3970f search test driven by ip2region service 2025-12-07 00:38:14 +08:00
lionsoul2014
b44654230f add cache policy parse func 2025-12-07 00:38:00 +08:00
lionsoul2014
9d67e3fcad service.NewIp2Region 2025-12-05 23:18:06 +08:00
lionsoul2014
bbccbfa451 add Usage doc for Ip2Region service 2025-12-05 23:15:29 +08:00
lionsoul2014
1f8bf73a0f ip2region search service & tests 2025-12-05 18:51:44 +08:00
lionsoul2014
620646e8e0 stdlize the code style 2025-12-05 18:51:23 +08:00
lionsoul2014
1adc5643aa Add IP Add Sub funcs 2025-12-05 18:50:46 +08:00
lionsoul2014
316355a72e remove the Stat 2025-12-05 12:49:14 +08:00
lionsoul2014
e73321a860 searcher pool is ready 2025-12-05 12:42:45 +08:00
lionsoul2014
ab22a5e03c config is ready 2025-12-04 14:15:48 +08:00
lionsoul2014
ace0c7f300 update String format 2025-12-04 14:14:40 +08:00
lionsoul2014
2a8e3444d4 searcher pool impl 2025-12-04 13:14:03 +08:00
lionsoul2014
4c9ef35a9a Add string method 2025-12-04 13:13:49 +08:00
lionsoul2014
540831e6a9 add String method 2025-12-04 13:13:10 +08:00
lionsoul2014
a220db2345 export the NewSearcher 2025-12-04 13:12:50 +08:00
lionsoul2014
c78ba4827d service config 2025-12-03 13:36:49 +08:00
lionsoul2014
000e19d419 disassemble the header info 2025-12-03 11:47:32 +08:00
lion
8a7a899c64 fix the sample region info 2025-10-21 13:31:01 +08:00
lion
ca6c0506e6 search api desc and return empty string for empty match 2025-10-21 10:40:34 +08:00
lion
f226ef1f79 update the comments 2025-09-12 15:31:12 +08:00
lion
e8b6049584 resource defer close and some optimizations 2025-09-12 12:52:15 +08:00
lion
fdec88605f update the cli search demo 2025-09-08 11:52:34 +08:00
lion
0623fee57a update the ReadMe for IPv6 supports 2025-09-08 11:13:09 +08:00
lion
beb0e452ce xdb verify desc and docs 2025-09-07 18:09:57 +08:00
lion
7cc7d4d9cf add verify func and call it on the test program to make sure the searcher would work properly 2025-09-07 10:47:01 +08:00
lion
a8a17b0f98 show the normalized ipv4 region 2025-09-06 10:35:57 +08:00
lion
03eef4a75e IPv4 and IPv6 search test and bench demo 2025-09-06 10:14:23 +08:00
lion
6b2e18e551 update the Doc for the latest API call (IPv4 & IPv6) 2025-09-06 10:07:13 +08:00
lion
0307a3df14 IPv6 RC verison with IPv4 compatible with the old implementation 2025-09-06 00:36:10 +08:00
lion
ae69123857 add IPv6 supports for golang binding 2025-09-05 17:15:01 +08:00
lion
ec1ae9504e fix the bug of undefined:io 2025-05-05 19:46:13 +08:00
Jellyfish
39a806695e 增加LoadContentFromFS函数,提供了一个通用的方法来从 embed.FS 中加载文件内容。 2025-04-21 10:07:38 +08:00
eliauk-code
40f2cdfcd9
Update ReadMe.md
spelling mistake
2024-05-09 14:24:57 +08:00
Lion
61788530fd some optimizations 2022-12-06 20:16:44 +08:00
Lion
3e6440f1dd load segments while editor init 2022-12-02 18:29:39 +08:00
Lion
c5fad74d95 auto close the handle after buffer loaded 2022-07-20 16:24:21 +08:00
Lion
7d66d96525 optimize the checkIP and Long2IP impl 2022-07-07 10:26:27 +08:00
Lion
fdedfcc0d8 some optimizations 2022-06-29 17:50:25 +08:00
Lion
68486ea679 some optimizations 2022-06-29 17:49:59 +08:00
lion
3b96003ca1 use the raw []byte as vectorIndex to reduce memory alloc 2022-06-23 17:56:28 +08:00
Lion
a835d15d0a update docs 2022-06-22 19:23:03 +08:00
Lion
7b7171c233 update the docs for cache-policy 2022-06-22 19:20:59 +08:00
Lion
431e42209c print the cache policy for bench 2022-06-22 18:48:06 +08:00
Lion
b08e798e27 print the dataLen and dataPtr for debug 2022-06-22 15:59:29 +08:00
lion
8e88caecab break for the undefine option 2022-06-21 18:02:40 +08:00
lion
59434d03c9 use the Header struct 2022-06-21 11:34:47 +08:00
lion
14badde79e add header mgr struct 2022-06-21 10:57:47 +08:00