Yes, a file full of zero bits transfers faster over USB2.0 than a file full of one bits.

I've known this forever but it still feels ridiculous when you actually test it and it's true!

USB truly is cursed.

@lina Few people know it but the reason for this is very simple. While zeroes are round, a 1 has a sharp corner and a hook that could get stuck and damage the insulation around the copper if you would completely fill the line with ones. Instead, sending some zeroes every now and then to flush any stuck „1“ before a clog can develop.

A 0 can be neatly pushed through the copper at high pressure without damaging the cable.

Now you know!

@uint8_t @lina Should have imagined more complex bits. Then we'd have 0 and i.
@icing @lina the problem with i is that it’s often used in for loops so it could get entangled in the software threads, or its value might change unexpectedly and rapidly if it gets into the wrong scope
@uint8_t
Sometimes you have to stop what you're doing and find the dots which have fallen off the top of the is. It's been proven that despite the 1s getting suck on corners it's still faster than searching for the dots.
@icing @lina
@efraim @uint8_t @icing @lina, ı·iıi·.ı0i·iı