Julia: Efficient Coding (02)

Опубликовано: 30 Март 2026
на канале: DJ's Office Hours
945
51

#julialang #benchmarking #programming
I'm finishing my benchmarking! I go into my last two topics pre-allocating and vectorizing.
Now long story short is pre-allocate when you can, and vectorize your operations, if you want efficient code. I don't go into big(O), but that would be the next step if you need really efficient code to ensure your benchmarks meet your desires.


SECTIONS
-----------------
0:00 - intro
0:22 - appending vs pre-allocating
3:12 - vectorizing


Julia Performance Tips
-------------------------------------
https://docs.julialang.org/en/v1/manu...


Learning Repo
-----------------------
https://github.com/da-james/djs-offic...


IG:   / djsofficehours  
TT:   / djsofficehours  
T:   / djsofficehours