Tim Möhlmann 2025434b1e fix(eventstore): prevent allocation of filtered events (#6749)
* fix(eventstore): prevent allocation of filtered events

Directly reduce each event obtained from a sql.Rows scan,
so that we do not have to allocate all events in a slice.

* reinstate the mutex as RWMutex

* scan data directly

* add todos

* fix(writemodels): add reduce of parent

* test: remove comment

* update comments

---------

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
2023-10-20 09:17:56 +02:00
..
2023-07-10 08:07:10 +00:00
2023-07-06 08:38:13 +02:00
2022-04-26 23:01:45 +00:00
2022-11-30 17:01:17 +01:00
2022-11-30 17:01:17 +01:00
2022-04-26 23:01:45 +00:00