Class DynamicObject.PutAllNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.object.DynamicObject.PutAllNode
All Implemented Interfaces:
NodeInterface, Cloneable
Enclosing class:
DynamicObject

public abstract static class DynamicObject.PutAllNode extends Node
Adds or sets multiple properties in bulk. Behaves like DynamicObject.PutNode, but is usually more efficient for cases like object initialization where more than a few properties are added at once.

Cached nodes may retain the supplied keys array. Its elements must not be modified after being passed to a cached node, including between executions. Use a new array for different keys. Values and property flags arrays are not retained and may be modified between executions. No input array may be modified during execution.

Since:
25.1
See Also: