Timeline for Fast MATLAB, slow Mathematica: Export a matrix as TSV
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 12, 2018 at 7:11 | comment | added | xzczd♦ |
As to the ReadList sample: 14.35s in v11.2, 0.876s in v9.0.1.
|
|
Apr 12, 2018 at 6:46 | history | edited | chyanog | CC BY-SA 3.0 |
added 72 characters in body
|
Apr 12, 2018 at 6:33 | comment | added | chyanog |
@xzczd 另外我还注意到11.3的ReadList 比9.0.1慢太多,不知道11.2是什么情况,试试ReadList["test1.txt",Table[Number,{1000}]];//AbsoluteTiming
|
|
Apr 12, 2018 at 6:18 | comment | added | xzczd♦ | Strange. The last solution is a little slower than Henrik's solution in v9.0.1. (3.28s vs 2.38s. ) In v11.2, my timing is similar to yours. (The naive solution only takes 15s in v9.0.1 BTW.) | |
Apr 12, 2018 at 6:14 | history | edited | chyanog | CC BY-SA 3.0 |
edited body
|
Apr 12, 2018 at 6:08 | history | answered | chyanog | CC BY-SA 3.0 |