nus-cs2103-AY1920S1 / pe-dev-response

0 stars 0 forks source link

Application freezes for large repeaters #2515

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

The application hangs for a few seconds when adding a repeater of a period of 5 years.

image.png


[original: nus-cs2103-AY1920S1/pe-interim#2524]

LeeYiyuan commented 4 years ago

Team's Response

Good observation; however, this is not a bug. The number of transactions to be added is linear in the span of the repeater. Therefore, it is expected that having a longer span will lead to larger number transactions needing to be added, increasing runtime (the 5 year limit was actually set to prevent total freezing :D) Nonetheless, it would have been good to highlight this in the user guide.

Duplicate status (if any):

--