The only difference between the two submissions is using a lambda function vs a global function. Lambda functions made the runtime around 7 times slower.
What do you think this is because?
255501228 255500672
so should we always prefer global functions over lambdas then?