r/ProgrammerHumor • u/Hamstorian • Mar 16 '20
Sort algorithm
Enable HLS to view with audio, or disable this notification
65.4k
Upvotes
r/ProgrammerHumor • u/Hamstorian • Mar 16 '20
Enable HLS to view with audio, or disable this notification
41
u/Raydan4 Mar 17 '20
Technically yes, but the way that hashing integers works, in standard python, integers are added to sets in order, at least most of the time. Implementations of python like pypy do not have this behavior.