Keep events chronologically sorted #2

Open
opened 2022-02-17 07:16:11 +00:00 by lauri · 0 comments
Owner

As event updates are transmitted from server events with same _id but updated contents are received on the browser.

Events with existing _id should replace the content of the old events. To simplify finding old event keep the event array sorted on the browser side.

For this use (binary) search to insert new event in the right position in the array

As event updates are transmitted from server events with same `_id` but updated contents are received on the browser. Events with existing `_id` should replace the content of the old events. To simplify finding old event keep the event array sorted on the browser side. For this use (binary) search to insert new event in the right position in the array
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: k-space/log-viewer#2
No description provided.