Closed petedmarsh closed 1 year ago
Agreed but this is done on purpose to give the output a new object with no references to the cache which is going to be constantly updated by another thread, unless values
has been updated in python to give a new object rather than a pointer?
And you can see the error in the tests proving it
Ah, yes of course.
It may be slightly more performant to iterate over the market_ids
if set, I will bench mark and see.
As
{}.values()
is already iterable there's no need to conver them to a list: