4 ms·
Any file can be represented as a binary string, and a binary string is just an integer value - which is to say binary strings are simply indexes of files in bin
by mojomark 4y ago
Any file can be represented as a binary string, and a binary string is just an integer value - which is to say binary strings are simply indexes of files in binary space (i.e. the set of all possible permutations of bits).
Looks to me like nfs is simply transforming a binary space index into a pi-space index. Some files may compress to a smaller value than they are in binary space (if you get lucky), but make no mistake, some files will be much much larger (i.e. the files you're trying to store don't show up in pi until an index value that is a virtually infinite number of digits long).
- pitaj 4y agoYeah, that's the joke.
- mojomark 4y agoAh, I'm slow. Thanks
- cmehdy 4y agoFrom the repo: Why is this thing so slow? It took me five minutes to store a 400 line text file! Well, this is just an initial prototype, and don't worry, there's always Moore's law! So I'm guessing they are quite aware of the joke, and props to them for the dedication to commit and write the code (or the other way around) :)