Comments (1)
Packing Algorithm
Target
- Sometimes we may have to repack the files.
- Try to reduce the amount of changed files.
- Don't put large files with small files.
- When loading a single small keysound may also trigger download of unrelated BGM.
Algorithm
- Sort the files by size (largest to smallest)
- For each file, put them into chunks. Start a new chunk if current chunk is too large.
- If the last chunk is too small, merge the last two chunks.
from bemuse-tools.
Related Issues (14)
- Signify which file is an entry file. HOT 1
- Display progress bar instead
- Turn to Mocha + Chai
- Make bemuse-tools support bmson HOT 1
- Update README because it’s utterly outdated…………………
- Write song metadata into the entry file.
- Detect song metadata from the BMS files.
- Add README.md into metadata.
- Allow asset splitting to be turned on/off
- Include hash inside bemusepack HOT 1
- Add david-dm to README badges. HOT 1
- BEMUSEPACK 2.0
- Wireframe design for Game UI HOT 1
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 bemuse-tools.