StringName

An optimized string type for unique names.

Description

StringNames are immutable strings designed for general-purpose represention of unique names. StringName ensures that only one instance of a given name exists (so two StringNames with the same value are the same object). Comparing them is much faster than with regular Strings, because only the pointers are compared, not the whole strings.

Methods

StringName StringName ( String from )

Method Descriptions

Creates a new StringName from the given String.