DEV Community

loading...

Discussion on: Do you even Refactor? 001

Collapse
s9k96 profile image
Shubham Saxena

Skipping the loop

def getData():
    return [5]*1000*1000*100
Enter fullscreen mode Exit fullscreen mode
Collapse
codr profile image
Ilya Nevolin Author

perfect!