Ugg , looks too much like BASIC.....
but it works
Quote from: mpknap on November 09, 2019, 09:05:41 pmbut it works Just curiosity, it would be interesting to see how the performance of that Python implementation compares with the various Pascal implementations.
You only have to wish, sir.
Can you compare only sorting phase time?. (Python default I/O is slow).
Quote from: julkas on November 10, 2019, 10:38:42 amCan you compare only sorting phase time?. (Python default I/O is slow).Sort phase only:PythonCode: Text [Select][+][-]Time elapsed: 1.1443881560007867 , #unique: 999955 , #total: 10000000 PascalCode: Text [Select][+][-]Time elapsed: 0.1750, #unique: 999955, #total: 10000000
@avk Thanks.https://ideone.com/9n168K
We can't compare Python (interpreted Lang) with Pascal.