LearnNewsExamplesServices
Frontmatter
id2345
titlecalendar.store.Events: createDayMap()
stateClosed
labels
enhancementstale
assigneestobiu
createdAtJun 11, 2021, 12:11 PM
updatedAtSep 16, 2024, 4:36 AM
githubUrlhttps://github.com/neomjs/neo/issues/2345
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 16, 2024, 4:36 AM

calendar.store.Events: createDayMap()

Closed v8.1.0 enhancementstale
tobiu
tobiu commented on Jun 11, 2021, 12:11 PM

Currently the calendar year view is parsing all calendar events for every single day.

While this works fast for the demo app so far, it can easily become a bottle-neck in case there are 100s of events.

Ideally we need an algorithm which parses all events (records) once and creates a map:

eventMap[yyyymmdd] = [record1, record2,...]

tobiu added the enhancement label on Jun 11, 2021, 12:11 PM
tobiu assigned to @tobiu on Jun 11, 2021, 12:11 PM