Info
Version: | 1.0.1 |
Author(s): | IP2Region.Standard |
Last Update: | Monday, April 27, 2020 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/IP2Region.Standard |
Install
Install-Package IP2Region.Standard
dotnet add package IP2Region.Standard
paket add IP2Region.Standard
IP2Region.Standard Download (Unzip the "nupkg" after downloading)
Dependencies
- System.Runtime.CompilerServices.Unsafe(>= 4.3.0)
Tags
1.使用Unsafe类优化底层,不需要勾选“允许不安全代码”。单IP检索速度为100+ns,1000W次检索,耗时在4.5秒左右。
2.修正某些IP在Btree模式下搜索的结果为乱码的问题。
3.不再使用DbSearcher对象,使用MemorySearcher和FileSearcher对象进行IP检索。.