The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

CLAD2017 - Fundamentals - Performance Building an Array

SercoSteveB
Active Participant

You have a requirement to build an array of random U8 numerical values using a loop. Put the following methods and loop types  in order of performance (quickest to slowest)?

 

a) For loop using "auto indexing"
b) For loop using "build array" and a Shift Register
c) While loop using "auto indexing"
d) While loop using "build array" and a Shift Register

Comments