top | item 36457407

(no title)

jamann | 2 years ago

> an array of structures, the compiler/language should be able to turn that into a structure of arrays

class Point:

    i: int

    def get_x():

        return x_array[i]
# shift every point

x_array += 1

discuss

order

No comments yet.