4 ms·
My first solution would have been getting a count, maybe a cached count and just doing random between 0 and that count, fetching by index? Or if you want more t
by seivan 12y ago
My first solution would have been getting a count, maybe a cached count and just doing random between 0 and that count, fetching by index?
Or if you want more than one, just get a slice? Probably not the best, but at the top of my head.