Ben Boeckel
3e027d9def
c++: prefer vectors over lists
...
None of these usages of `std::list` were inserting or removing elements
in the middle of the structure, so there were no benefits to using it.
Other uses were related to C pointers being stable in a list of strings
whereas in a vector of strings, small pointer optimizations could be
moved and become invalid after a modification to the hosting vector.
None of these uses modified the vector after handing out a C string to
an external store.
2017-05-04 11:17:49 -04:00
..
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2016-10-23 00:45:08 +02:00
2016-10-17 11:15:36 -04:00
2017-04-11 22:35:21 +02:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2017-04-21 10:44:07 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-02-16 13:19:26 -05:00
2017-04-11 22:35:21 +02:00
2017-03-06 10:38:58 -05:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-21 10:44:07 +02:00
2017-04-11 22:35:21 +02:00
2016-11-28 14:06:40 -05:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-21 10:44:07 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2017-04-21 16:39:41 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2017-01-20 11:37:27 -05:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-04 11:17:49 -04:00
2017-05-04 11:17:49 -04:00
2017-05-02 01:54:13 +10:00
2017-05-02 01:54:13 +10:00
2017-05-02 01:54:13 +10:00
2017-05-02 01:54:13 +10:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2016-11-28 14:06:40 -05:00
2017-04-11 22:35:21 +02:00
2016-09-27 15:14:44 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-21 10:44:07 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00