IP2Region.Standard
1.0.1
IP2Region C# version.
1.使用Unsafe类优化底层,不需要勾选“允许不安全代码”。单IP检索速度为100+ns,1000W次检索,耗时在4.5秒左右。
2.修正某些IP在Btree模式下搜索的结果为乱码的问题。
3.不再使用DbSearcher对象,使用MemorySearcher和FileSearcher对象进行IP检索。
Install-Package IP2Region.Standard -Version 1.0.1
dotnet add package IP2Region.Standard --version 1.0.1
<PackageReference Include="IP2Region.Standard" Version="1.0.1" />
paket add IP2Region.Standard --version 1.0.1
#r "nuget: IP2Region.Standard, 1.0.1"
// Install IP2Region.Standard as a Cake Addin
#addin nuget:?package=IP2Region.Standard&version=1.0.1
// Install IP2Region.Standard as a Cake Tool
#tool nuget:?package=IP2Region.Standard&version=1.0.1
IP2Region C# version.
1.使用Unsafe类优化底层,不需要勾选“允许不安全代码”。单IP检索速度为100+ns,1000W次检索,耗时在4.5秒左右。
2.修正某些IP在Btree模式下搜索的结果为乱码的问题。
3.不再使用DbSearcher对象,使用MemorySearcher和FileSearcher对象进行IP检索。
IP2Region C# version.
1.使用Unsafe类优化底层,不需要勾选“允许不安全代码”。单IP检索速度为100+ns,1000W次检索,耗时在4.5秒左右。
2.修正某些IP在Btree模式下搜索的结果为乱码的问题。
3.不再使用DbSearcher对象,使用MemorySearcher和FileSearcher对象进行IP检索。
Dependencies
-
.NETStandard 2.0
- System.Runtime.CompilerServices.Unsafe (>= 4.3.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.