Delete the parked CultCache SoA table

Removes CultSoaTable, CultSoaColumn, CultCacheSoaStore, CultCacheSoaTypeTable,
CultCacheSoaMember, CultCache.Soa<T>, the _soa field and its four hooks, and
the two tests that exercised them (with their TransformEntry and
MeshManagedPlayer fixtures). The last working form is at
parked/cultcache-soa.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-13 16:22:54 +02:00
commit fe7e5fbe37
4 changed files with 0 additions and 409 deletions

View file

@ -1278,7 +1278,6 @@ namespace GameCult.Caching
private readonly ConcurrentDictionary<Type, string> _globalKeys = new();
private readonly ConditionalWeakTable<object, DocumentHandleBox> _documentHandles = new();
private readonly Subject<object> _changes = new();
private readonly CultCacheSoaStore _soa = new();
private readonly SemaphoreSlim _transactionGate = new(1, 1);
private readonly AsyncLocal<CultCacheTransaction?> _ambientTransaction = new();
private readonly object _stateGate = new();
@ -1413,14 +1412,6 @@ namespace GameCult.Caching
return Watch<T>().Where(change => change.Key.Equals(key));
}
/// <summary>
/// Gets the cache-owned structure-of-arrays table for a document type.
/// </summary>
public CultSoaTable<T> Soa<T>() where T : class
{
return _soa.Snapshot<T>();
}
/// <summary>
/// Attaches a backing store to this cache.
/// </summary>
@ -1967,7 +1958,6 @@ namespace GameCult.Caching
{
RemoveIndexes(existing);
_documentHandles.Remove(existing.Document);
_soa.Remove(existing);
}
if (pair.Value == null)
@ -1984,7 +1974,6 @@ namespace GameCult.Caching
_entries[pair.Key] = stored;
_documentHandles.Remove(stored.Document);
_documentHandles.Add(stored.Document, new DocumentHandleBox(stored.Key));
_soa.Upsert(stored);
AddIndexes(stored);
changes.Add((stored, existing?.Document, false));
}
@ -2091,7 +2080,6 @@ namespace GameCult.Caching
_entries[stored.Key.Value] = stored;
_documentHandles.Remove(stored.Document);
_documentHandles.Add(stored.Document, new DocumentHandleBox(stored.Key));
_soa.Upsert(stored);
AddIndexes(stored);
foreach (var store in _backingStores)
@ -2130,7 +2118,6 @@ namespace GameCult.Caching
RemoveIndexes(existing);
_documentHandles.Remove(existing.Document);
_soa.Remove(existing);
foreach (var store in _backingStores)
{