Frontmatter
| id | 2345 |
| title | calendar.store.Events: createDayMap() |
| state | Closed |
| labels | enhancementstale |
| assignees | tobiu |
| createdAt | Jun 11, 2021, 12:11 PM |
| updatedAt | Sep 16, 2024, 4:36 AM |
| githubUrl | https://github.com/neomjs/neo/issues/2345 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 16, 2024, 4:36 AM |
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,...]