benreid24 / BLIB

Small organized collection of common code I have accumulated over the years that has amassed into a proper 2d game engine
1 stars 0 forks source link

Multi-pass resource bundling #162

Open benreid24 opened 1 year ago

benreid24 commented 1 year ago

Resource bundling results in many small bundles usually. We can increase filesystem efficiency by combining smaller bundles into larger bundles, up to some size threshold. 4MB is probably a good number. Bundles from the same source should be considered for combination first. Could even introduce another config option for user to specify which bundles should be considered for combination. Then a final combine step which combines remaining small bundles.