- Joined
- Oct 11, 2023
I should have clarified by turning the text into a bunch of numbers you can make it much smaller, from 100mb to (hopefully) 100kb max, when you send it to someone else so it doesn't take something like 5 minutes to download and only takes a couple seconds. It is that slow because the host has to upload it which is slow and some people tend to have slow internet.How is this any different from just transferring the text file to the client? Are you storing this data locally for some reason instead of downloading it? If you are storing it, why are you not just using a DBMS or document storage system to manage this data? I understand wanting to do C stuff at a low level, but maybe stay in your lane as a beginner and use working storage solutions like mongodb and SQLlite or H2.
You are probably right that there are things that could do this much easier and it isn't the easiest project to do, but it is something I would find interesting and useful, which will keep me going if I hit roadblocks.
Even if I fail and only get like 60% of the way to being finished I count that as a win because I'll be much more familiar with C.
Yes basically although I'll take advantage of the fact that the skeleton of every file is the same and only the numbers change.... So, compression?
Compression has been used on these files before but it can take a while (relatively speaking) and it only reduces file size by at most 10x.
I'd like to see if I could get it to be much smaller. If I fail that's alright I'll still learn a lot in the process.