romanbelkov / xz.net Goto Github PK
View Code? Open in Web Editor NEWThis is a small wrapper library for using liblzma with .NET platform
License: MIT License
This is a small wrapper library for using liblzma with .NET platform
License: MIT License
In nuget 1.2.2 is the lastest version of XZ.NET.
Is there any reason prevented upload of 2.0.0?
Many improvements like AnyCPU build were achieved in 2.0.0, so it would be better to let developers use lastest version of XZ.NET via nuget.
it's possible?
class XZOutputStream has a constant value
private const int MaxThreads = 8;
I think the multi-thread config should be decided by user.
For example, I'm going to write some C# app using xz to archive some log files on a server which has 40 cores -- yes, a very powerful server, so I hope to use 32 threads to do the compression in parallel :)
In case when user has set an irrational number of threads, we can use Trace.TraceWarning
to issue a warning message.
XZOutputStream
throws an exception when its preset set to 8 or 9.
For detail, this exception is raised from XZOutputStream.cs line 83.
System.InsufficientMemoryException: 'Memory allocation failed'
It only happens if XZ.NET is using 32bit version of liblzma.dll
, and it happens regardless of liblzma.dll
's version (5.2.1 and 5.2.3 tested).
To reproduce, please use the test code from pull request #8 .
Tested Environment
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.