Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.39 KB

class_stringname.rst

File metadata and controls

34 lines (21 loc) · 1.39 KB
github_url:hide

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 :ref:`String<class_String>`s, because only the pointers are compared, not the whole strings.

Methods

:ref:`StringName<class_StringName>` :ref:`StringName<class_StringName_method_StringName>` ( :ref:`String<class_String>` from )

Method Descriptions

Creates a new StringName from the given :ref:`String<class_String>`.