Old 07-07-2019, 08:44 AM   #1
MaXyM
Human being with feelings
 
Join Date: Aug 2018
Posts: 310
Default Default themes are uncompressed (NO BUG)

I don't know devs intentions but I found that default themes found in InstallData\ColorThemes\ are uncompressed. For example a file Default_5.0.ReaperThemeZip file has 7.86MB but the same content can be compressed to 681kB with zip compression level 6 (normal)
MaXyM is offline   Reply With Quote
Old 07-07-2019, 08:52 AM   #2
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,080
Default

Is that a problem?
Lokasenna is online now   Reply With Quote
Old 07-07-2019, 10:02 AM   #3
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,396
Default

I think it's faster to access the stuff in the archive that way.
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote
Old 07-07-2019, 11:10 AM   #4
MaXyM
Human being with feelings
 
Join Date: Aug 2018
Posts: 310
Default

Quote:
Originally Posted by mespotine View Post
I think it's faster to access the stuff in the archive that way.
Any reference?
IMO it's not the case.
MaXyM is offline   Reply With Quote
Old 07-07-2019, 11:16 AM   #5
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,080
Default

Not having to uncompress a file will always be faster than having to uncompress it. How much faster is a separate question.
Lokasenna is online now   Reply With Quote
Old 07-07-2019, 11:23 AM   #6
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,396
Default

On fast computers these days, this speedup could be no issue anymore, but keep in mind, Reaper has started more than ten years ago. I think, back then this squeezed some more cycles out of Reaper's startup-time while retaining the convenience of the theme being stored in one convenient file.

Don't think that the stuff is an issue and doubt, it will ever change, unless there's a real need for that.
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote
Old 07-07-2019, 05:24 PM   #7
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 2,544
Default

Its intentional.
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 07-08-2019, 01:08 AM   #8
MaXyM
Human being with feelings
 
Join Date: Aug 2018
Posts: 310
Default

Likely so, but I would like to know arguments supporting this choice.
So far:
- ''store' zip method (compression 0) is not mentioned in any theming related guide I'm aware of
- stash doesn't support such big files
Seems your 'intentionality' suffers from inconsistency.

Also I don't think the difference in time loading is significant enough to justify more than 10x bigger filesize. Maybe in the past it was, but still I'm not confident about it.

at the end it doesn't really matter. I just like when things are lined up

Last edited by MaXyM; 07-08-2019 at 01:13 AM.
MaXyM is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.