3 ms·
I also thought that the different weights might have been intentional since it reminds me of arithmetic coding[1]. Turns out it was just an accident. I suppos
by omoikane 3y ago
I also thought that the different weights might have been intentional since it reminds me of arithmetic coding[1]. Turns out it was just an accident.
I suppose current implementation makes sense since the weights would be roughly equal as the number of articles increases, and any individual user is unlikely to care about fairness as long as they get some random article.
[1] https://en.wikipedia.org/wiki/Arithmetic_coding https://en.wikipedia.org/wiki/Arithmetic_coding