Remix.run Logo
glitchc 6 hours ago

At what point is the metadata larger than the actual file?

wavemode 6 hours ago | parent | next [-]

Part 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 π.

mike_hock 6 hours ago | parent | prev [-]

Half the time it should be larger, right?