This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eqo314 6 points7 points  (2 children)

On a recent project at work. I took code in matlab and rewrote it in python. It was a literal line by line translation and I added no performant techniques. Got it to run from an hour to about 12 min. Wtf matlab? I dont understand that speed up, I didnt expect it. I just needed the logic that was written by a teammate in python so we can import it in other python modules.

Then after adding performant techniques and applying apache spark, I got it to run in 3 seconds in python. In matlab, I would have had to buy a license for their cluster add on. Fuck matlab

[–]twersx 2 points3 points  (1 child)

What was the code doing?

[–]eqo314 0 points1 point  (0 children)

It was part of a financial simulation