This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
dev:event_data_structure [2020/01/11 19:13] – chaot | dev:event_data_structure [2020/01/11 19:17] – chaot | ||
---|---|---|---|
Line 3: | Line 3: | ||
This page is to make a suggestion for a new events data structure to achieve the following goals: | This page is to make a suggestion for a new events data structure to achieve the following goals: | ||
* avoid the usage of std::list | * avoid the usage of std::list | ||
- | * store events such that we can quickly retrieve the k-th last event for a specific instrument (for fixed k) | + | * store events such that we can quickly retrieve the k-th last event for a specific instrument (for variable |
* generally make this part of the code more beautiful and usable | * generally make this part of the code more beautiful and usable |