3 ms·
At what point is the metadata larger than the actual file?
by glitchc 4mo ago
At what point is the metadata larger than the actual file?
- mike_hock 4mo agoHalf the time it should be larger, right?
- wavemode 4mo agoPart of the joke is that, in this implementation, the metadata is guaranteed to be larger than the file: > Now, we all know that it can take a while to find a long sequence of digits in π, so for practical reasons, we should break the files up into smaller chunks that can be more readily found. > In this implementation, to maximise performance, we consider each individual byte of the file separately, and look it up in π.
- bean469 4mo agoIt almost always will be, except for the extremely rare case of your string being somewhere early in the pi string.