Giter Site home page Giter Site logo

unityzip's Introduction

UnityZip

使用SharpZipLib实现Unity压缩/解压缩

Unity版本556, SharpZipLib 0.8 如果使用Unity2018.3以后的版本 可以自己把SharpZipLib升级到最新, 最新版需要C#7.0的语法支持

解压时安卓上会分配大量的mono堆内存.

测试压缩包200mb, 包内全是几十k的png图片. 大概每10mb 需要最多 1s 的解压时间. 也就是 200mb的zip文件 解压需要18-21左右.

正常项目中使用 需要放到多线程中进行解压缩操作.

Unity-Logs-Viewer方便查看日志和内存占用.

只测试了zip格式.

New 升级到了2018.3 SharpZipLib 也升级到了最新版 1.10

unityzip's People

Contributors

huangkumao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.