decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

ThreadPersistentData - Change Name #283

Open mbaker3 opened 11 months ago

mbaker3 commented 11 months ago

The naming of ThreadPersistentData is a misleading description of its intended use and behaviour when compared with EntityPersistentData.

ThreadPersistentData is really more of a pooling mechanism for a heavy data type to allow jobs to avoid allocating instances on each iteration of a job, frame and across multiple jobs that use the same type.

The ThreadPersistentDataInstace is:

Put some thought into the name but some ideas to riff on are:

ParallelPooledDataProvider?