Class TruffleString.MaterializeNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.MaterializeNode
All Implemented Interfaces:
NodeInterface, Cloneable
Enclosing class:
TruffleString

public abstract static class TruffleString.MaterializeNode extends Node
Node to force materialization of any lazy internal data. Use this node to avoid materialization code inside loops, e.g. when iterating over a string's code points or bytes.
Since:
22.1