Reduced the memory usage, as well as hopefully fixing the memory leak. Also implemented database compression across rows, including Brotli compression and bitshifting.
This commit is contained in:
@@ -14,4 +14,9 @@ public struct Ip
|
||||
{
|
||||
return $"{Ip1}.{Ip2}.{Ip3}.{Ip4}";
|
||||
}
|
||||
|
||||
public uint PackIp()
|
||||
{
|
||||
return (uint)(Ip1 << 24) | (uint)(Ip2 << 16) | (uint)(Ip3 << 8) | (uint)Ip4;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user