Scripting at the speed of Compiled Code: Vectorisation
You may be very familiar with ‘for’ loops and ‘while’ loops. Quite often, they are the first things we learn about on our coding journey. Surprisingly, these humble loops could be slowing down the jobs you run on NeSI!
Luckily, there is a trick you can learn to address loop inefficiencies in your scripted code. Come along to NeSI’s last training webinar of 2019 where Alex Pletzer, a member of our Computational Science team, will demonstrate how you can replace loops with a single array operation to speed up your code-- a technique known as vectorisation.
In this 1-hour webinar Alex will:
- Describe what vectorisation is and how it can speed up your code
- Explain what code sections make the best candidates for vectorisation
- Demonstrate the increased efficiency that vectorisation provides
This webinar is geared towards novice and advanced coders who plan on coding in a scripting language (Python, R, MATLAB, Julia, etc). Whether you are new to HPC, have HPC experience but mostly code in compiled languages, or something in between, this webinar will equip you with the knowledge you need to write scripted code that is more efficient. There are no prerequisites for attending and all are welcome.