Skip to content

API Host StringPoolingStrategy

Liu.Yandong.Hanks edited this page Aug 21, 2026 · 3 revisions

StringPoolingStrategy

Controls how CLR strings are wrapped as runtime StringValue objects.

Namespace: AuroraScript. Kind: enum.

Back to .NET Host API Reference

Overview

Controls how CLR strings are wrapped as runtime StringValue objects.

Values

StringPoolingStrategy.None

Always creates a new StringValue wrapper.

var value = StringPoolingStrategy.None;

StringPoolingStrategy.Intern

Uses the runtime string pool with weak references to reuse wrappers.

var value = StringPoolingStrategy.Intern;

Clone this wiki locally