change FA[5], where FA is locally bound to a float-array, and F is a local variable of type float
change FA[5], where FA is locally bound to a my-float-array, a subclass of float-array, and F is a local variable of type float
stable-for-dependent-compilation declared for the array subclass
change FA[5], where FA is locally bound to a float-array but is assigned to my-float-array, a subclass of float-array
insert 1.0 at the end of FL, where FL is a local variable of type float-list
insert 1.0 at the end of FL, where FL is a local variable of type my-float-list, a subclass of float-list
stable-for-dependent-compilation declared for the list subclass
insert 1.0 at the end of FL, where FL is locally bound to a float-list but is assigned to my-float-list, a subclass of float-list
For lists, inserting into a subclassed list is less efficient than inserting into a native list, and stability declarations only improve this performance slightly. Casting has no effect on lists.
Thus, whenever possible, you should use a native array, or if you are subclassing, declare local variables, using casting.