Bram, it is just the first call that is slow, all the subsequent ones are faster. For example, if you run the cell that tokenizes the text only once, at the first time you will have ~26ms and if you run the same a second time you will have 2ms. Therefore, it doesn’t matter if you tokenize 1 or N samples.