SteamRE / SteamKit

SteamKit2 is a .NET library designed to interoperate with Valve's Steam network. It aims to provide a simple, yet extensible, interface to perform various actions on the network.
GNU Lesser General Public License v2.1
2.57k stars 493 forks source link

Use ZipArchive in ZipUtil #1387

Closed xPaw closed 1 month ago

xPaw commented 2 months ago

Does not improve speed, but reduces allocations and we don't have to maintain this code.

Method Mean Error StdDev Gen0 Allocated
Old 135.8 us 0.45 us 0.38 us 1.4648 81.09 KB
New 133.4 us 0.71 us 0.66 us 0.7324 46.27 KB