|
|
|
|
|
by rapidlua
1347 days ago
|
|
As of today, vector’s iterator is just a pointer. You need more than just a pointer to detect out of bounds accesses. It makes old binaries incompatible with new binaries. It also means that you can’t mix and match, it must be either a or b. Hence you can’t make the change incrementally, which is a big risk. Concerning Linux distributions, I seriously doubt if they have resources to assess the performance impact across the wide range of software. Concerning performance impact, we end up with more instructions and more memory accesses and increased register pressure. This has a chance to make things slower. |
|