[ad_1]
What are the pros and cons of reusing variables in python?
For example see this code:
pointer_1 = 0
pointer_2 = 0
#do insertion sort
pointer_1 = 0
pointer_2 = 1
#do selection sort
Will reusing pointer_1 and pointer_2 make performance faster?
[ad_2]
لینک منبع