ArrayCache<T> Class

Summary

Stores arrays of various sizes so they can be reused without garbage collection.
Assembly
UltEvents.dll
Namespace
UltEvents
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ArrayCache<T>"] class Type type-node

Syntax

public static class ArrayCache<T>

Type Parameters

Name Description
T

Methods

Name Value Summary
GetTempArray(int) T[]
Get a cached array of the specified size for temporary use. The array must be used and discarded immediately as it may be reused by anything else that calls this method with the same `length`.
static