Store appointments for the current day in a vector

This allows for more efficient access to items at specific positions.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2014-05-16 09:45:11 +02:00
parent 45af8c5880
commit f513fa4627
3 changed files with 21 additions and 19 deletions

View File

@@ -102,7 +102,7 @@ void free_user_data(void)
{
unsigned i;
day_free_list();
day_free_vector();
event_llist_free();
apoint_llist_free();
recur_apoint_llist_free();