Files
lmxopcua/tests
Joseph Doherty bac7cfeaa9 perf(grpc-data): #1080 projected publish - per-value delivery without closures, sync enqueue, pooled full-window wait
- PendingDelivery is an abstract base: ValueDelivery carries a value's state in fields (was a closure +
  seven delegates per value), DelegateDelivery keeps the delegate form for controls/acks/conditions.
  One ValueLease replaces BudgetLease + one or two CompositeLeases (same release order).
- EnqueueAsync returns ValueTask and completes synchronously when a slot is free. A full window waits on
  the session's reused SlotWaiter (signalled by every dequeue and by Stop, which sets _closed first)
  instead of the channel's WriteAsync (a writer operation + cancellation registration per wait); the
  wait and TickAsync/PumpSnapshotsAsync/ConsiderAsync use PoolingAsyncValueTaskMethodBuilder, as do the
  reader's MoveNextAsync/NextPendingAsync. The #994 behaviour is unchanged: an ack meeting a full window
  waits for the reader and never resets the stream.
- ConsiderAsync decides 'already considered / not yet due' on a version peek before taking a full
  cache read (CachedSourceRead + sample copy + value).
- The tick signal is one shared immutable Work.

New test: a worker waiting on a full window ends when the stream stops and releases what it held
(fails if Stop does not wake the waiter).
2026-12-03 16:47:48 -05:00
..