- priority: 5 --> 7
I am writing a program called sega genesis graphics toolkit this program allows you to edit and create tiles and plane mapping that will be displayed on a sega genesis. Even thought this program is more homebrew oriented I want to add sonic compression because it has good compression ratios and the homebrew programmer would not have to write there own decompresser. Naturally I would use a compression library because I am not 100% familiar on how the sonic compressions work but while looking thought your source code I noticed that you used temp files. Temp files are a very bad programming practice because over time they will put an unnecessary amount of writes on the users hard-drive and with the raise of solid state drives (SSD drives have limited writes) I do not want to speed up wearing out someone's hard drive or SSD. So it would be great if you could make your library more ram based and less file based. A simple way to do this is to allocate enough ram to store the uncompressed file then right before the program returns re allocate the buffer to the compressed size. Thank you for reading this and I do hope you fix your program so that I could add support for compression without ruining somebody's hard drive.