Comments (9)
Yes it is one of the options.
from archive-patcher.
from archive-patcher.
Look inside this dir. https://www.github.com/google/archive-patcher/tree/v2/generator%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgoogle%2Farchivepatcher%2Fgenerator%2Fbsdiff%2Fwrapper
It uses the native bsdiff implementation. The java version should also work. But it is just slower (and not used for a long time so not the same guarantees)
from archive-patcher.
I can no longer speak for the team on this, but the pure-java version in tag "1.0 " (https://github.com/google/archive-patcher/releases/tag/1.0) is quite stable. Depending on your use case, the performance may / may not be a problem. I'd personally (again not speaking for the team here) encourage you to try it out and see if its performance is adequate to your needs.
from archive-patcher.
@pspencil Thanks! Sorry I am a bit confused: What is "native libraries"? IMHO this github repo only has java code...
from archive-patcher.
@pspencil Ha interesting! So how do I use that instead of the java one? You mentioned that I cannot use gradle to build it. Thank you!
from archive-patcher.
@andrewhayden Thank you very much! I have downloaded https://dl.bintray.com/juliantoledo/Maven/archive-patcher-1.0.jar several hours ago, and that speed (>10 seconds) is acceptable for me though a little bit slow.
from archive-patcher.
@pspencil @andrewhayden By the way, a curious question: Does Google Play uses this for downloading app? If so, that sounds awesome!
from archive-patcher.
Hello. Let me piggyback this issue because the question relates to the production-readiness of the library.
Is there a release plan for v2? I see commits being synced recently and the new generateDelta
interface with ByteSource
instead of File
is something I could really use.
from archive-patcher.
Related Issues (20)
- Compile instructions for bsdiff_jni.cc HOT 8
- Massive performance regression in v2 non-native generator HOT 3
- Truth incompatible with android HOT 4
- Run the demo, it has a NPE, msg is "Inflater has been closed" HOT 19
- Support For iOS HOT 2
- Input too large HOT 2
- Update README to explain that bsdiff is used without compression
- java.lang.NullPointerException: Inflater has been closed HOT 3
- How to run the sample code? HOT 4
- Very slow to apply patch on Android device HOT 3
- Failed to generate patch from APK: java.util.zip.ZipException: EOCD record not found in last 32k of archive, giving up HOT 4
- Android: java.lang.IllegalStateException: setLevel cannot be called after setInput HOT 3
- How to build code on branch v2 HOT 1
- Please open a security advisory HOT 8
- Android 11 (R) [API 30] : Zlib not compatible on this system HOT 3
- Some zlib versions fail the DefaultDeflateCompatibilityWindow compatability test HOT 2
- Android12 aplier File failed HOT 3
- On Android 12 devices, The file generated with the patch was different from the origin file; HOT 16
- Security Policy violation Binary Artifacts HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archive-patcher.