From f8f01ecd13b2491f89ffc3dfcd46cd36e67542ef Mon Sep 17 00:00:00 2001 From: lionsoul2014 Date: Sun, 2 Nov 2025 22:17:47 +0800 Subject: [PATCH] =?UTF-8?q?use=20=CE=BCs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- binding/python/ReadMe.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/python/ReadMe.md b/binding/python/ReadMe.md index 1e6f105..fbf485e 100644 --- a/binding/python/ReadMe.md +++ b/binding/python/ReadMe.md @@ -174,7 +174,7 @@ ip2region xdb searcher test program source xdb: ../../data/ip2region_v4.xdb (IPv4, vectorIndex) type 'quit' to exit ip2region>> 1.2.3.4 -{region: 美国|华盛顿|0|谷歌, ioCount: 7, took: 0.185 ms} +{region: 美国|华盛顿|0|谷歌, ioCount: 7, took: 185 μs} ``` 例如:使用默认的 data/ip2region_v6.xdb 文件进行 IPv6 的查询测试: @@ -184,7 +184,7 @@ ip2region xdb searcher test program source xdb: ../../data/ip2region_v6.xdb (IPv6, vectorIndex) type 'quit' to exit ip2region>> 240e:3b7:3272:d8d0:db09:c067:8d59:539e -{region: 中国|广东省|深圳市|家庭宽带, ioCount: 8, took: 0.211 ms} +{region: 中国|广东省|深圳市|家庭宽带, ioCount: 8, took: 211 μs} ``` 输入 ip 即可进行查询测试,也可以分别设置 `cache-policy` 为 file/vectorIndex/content 来测试三种不同缓存实现的查询效果。