[MDEV-19606] Replace std::list with std::forward_list Created: 2019-05-27 Updated: 2022-01-24 Resolved: 2019-05-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.4.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | performance | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Given that MariaDB Server 10.4 depends on C++11, which provides a singly-linked list template std::forward_list, InnoDB should use it instead of the doubly-linked std::list where applicable, to slightly reduce the memory footprint. |