Struct NumberedWords | Collections | 0.3.0-preview.0
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023