Struct NumberedWords | Collections | 0.3.0-preview.0
docs.unity.cn
    Show / Hide Table of Contents

    Struct NumberedWords

    Namespace: Unity.Collections
    Syntax
    public struct NumberedWords
    Remarks

    A "NumberedWords" is a "Words", plus possibly a string of leading zeroes, followed by possibly a positive integer. The zeroes and integer aren't stored centrally as a string, they're stored as an int. Therefore, 1,000,000 items with names from FooBarBazBifBoo000000 to FooBarBazBifBoo999999 Will cost 8MB + a single copy of "FooBarBazBifBoo", instead of ~48MB. They say that this is a thing, too.

    Methods

    SetString(String)

    Declaration
    public void SetString(string value)
    Parameters
    Type Name Description
    String value

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Extension Methods

    JobNativeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobNativeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX