> Interestingly, this is the best possible approach, whether we know the bias of the input bit stream or not.
Would love to see a proof of that. It feels a bit unintuitive to me.
(But on second thought that might be because I’m thinking of cases of correlated bits.)