zertovitch / zip-ada Goto Github PK
View Code? Open in Web Editor NEWZip-Ada: a standalone, portable Ada library for .zip archives. Includes LZMA byte stream encoder & decoder pair.
Home Page: https://unzip-ada.sourceforge.io/
Zip-Ada: a standalone, portable Ada library for .zip archives. Includes LZMA byte stream encoder & decoder pair.
Home Page: https://unzip-ada.sourceforge.io/
Zip-Ada is a library for dealing with the Zip compressed archive file format. - Fully open-source - no black-box - Fully in Ada - no interfacing headaches - Fully portable - no preprocessing, no conditionals ==== Complete description in: doc/zipada.txt If you are in a hurry (tl;dr), ignore the documentation, have GNAT installed (automatic on Linux), and try the command "gprbuild -P zipada.gpr". Bonus: the file zipada.gpr is a text file, with some comments.
The ZIP specification has added 93 as the method ID of Zstd.
Some programs already supports using Zstd in ZIP, such as WinZip and libzip.
Dear developers,
In lzma-decoding.adb I am puzzled by a number of statements like
zip-ada/zip_lib/lzma-decoding.adb
Line 281 in 8886fff
+=
increment assignment operator and so x += x + a;
is translated to x := x + x + a;
?+
and *
results in faster code?Thanks in advance for your clarification!
Pierre
When searching for atypical patterns in Ada code.
I found an instance of the atypical pattern var := cond or else var;
on the following line:
zip-ada/zip_lib/lzma-decoding.adb
Line 339 in 35652d6
Why do you use this pattern?
There is no side effect in the condition will_fill
, so would the typical pattern var := var or else cond;
not only result in more typical but also potential faster code?
Thanks in advance for your answer!
Pierre
Dear Developers,
Why is on line
zip-ada/zip_lib/lzma-encoding.adb
Line 351 in 8c5d56b
Why is the division not just executed on its usage?
Greetings,
Pierre
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.