83

Just finished assisting a junior dev with optimizing his code.

What used to take 2+ hours now takes less than 4 mins! 😎

Comments
  • 1
    To run or to change? XD
  • 0
    Haha! Classic.

    Buy that junior a Computer Science book.
  • 2
    @shozukan
    @apisarenco

    It was working! We just made it faster 😉

    And just an update, I managed to bring down the 4min to < 30sec before going home last night! 😎

    He is very much a junior and I am making sure I teach him! He can go and read computer science books in his own time, like I did 😋
  • 1
    @GinjaNinja can you give an example of what you changed? I would like to read it.
  • 2
    @Divisionbyzero
    He was basically copying data from one database, mapping it and saving it to another database.

    These were simple optimizations at first, breaking down what was happening, cleaning up the code and optimizing as we went along. And just by doing this, we brought it down to the 4 min mark.
  • 1
  • 1
    @Divisionbyzero
    Unfortunately I cannot post the code here... proprietary/NDA and all that good stuff!
Add Comment