But when you using array it works like ``` var sca...
# getting-started
s
But when you using array it works like
Copy code
var scalar
var array
var resultArray
var i = 0
take array[i] to add register A
take scalar to add register B
add A + B
store to resultArray[i]
inc i // i++
take array[i] to add register A
take scalar to add register B
add A + B
store to resultArray[i]
inc i // i++
take array[i] to add register A
take scalar to add register B
add A + B
store to resultArray[i]
Much more CPU cycles
­čĹŹ 1