Idea – Should There Exist A Memory Compression Option In The Compiler?

77

I have very little experience in programming. My observation though is that software like Firefox takes way to much memory these days. When it does the CPU usage is also very high. Again I have very little experience but should there not exist a memory compression option that implements compression automatically when compiling software? With this I would not need compression like zram on boxes that doesn’t have Linux installed. If the compression method has many parameters maybe there is a possibility to use machine learning to get right balance. // peroglyfer.se