Closed jonathanhogg closed 8 months ago
Since Vector objects are supposed to be immutable, I can make the .objects sequence a tuple instead of a list. This is useful because there are a number of optimisations in the Python runtime for creating tuples more cheaply than lists.
Vector
.objects
tuple
list
Since
Vector
objects are supposed to be immutable, I can make the.objects
sequence atuple
instead of alist
. This is useful because there are a number of optimisations in the Python runtime for creating tuples more cheaply than lists.