Pops a compound structure, zero or more indices and a value from the stack and updates the compound structure with the given value. Valid compound structures are lists, dictionaries, strings, records and references.
Ideally, this operation is done in-place, meaning the operation is constant time. However, to support Whiley's value semantics this bytecode may require (in some cases) a clone of the underlying data-structure. Thus, the worst-case runtime of this operation is linear in the size of the compound structure.
@author David J. Pearce
|
|
|
|
|
|