Skip to content

Timetable processing too heavy load and frequent #4

@LioQing

Description

@LioQing

The TimeSlotData.processTimetable function may be too inefficient.
In addition, it is frequently called.
The lag caused by it is especially noticable when the cursor hovers over the course lists, where it has to be called every time it changes the hovered course.

A solution could be separating the processing into small pieces, and only update the required fields.
Such as separate the processing of selected and hovered courses.
And also only provide information to the processing function of which course is removed and added, so that the process can be lighter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions