This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Kill quadratic bottleneck in duplicate_eh_regions
Jan Hubicka <hubicka@ucw.cz> wrote:
>> I think there is agreement that VEC is uniformly better than VARRAY,
>> and we are trying to move away from VARRAY replacing all occurrences
>> with VEC. So you should not probably introduce new uses.
>
> Hmm, what is the plan here? I tought we were using VECs for fixed
> size stuff or cases where we have very many of small sized arrays... I can
> re-do the patch for VEC API if we are dropping VARRAYs completelly (I
> was never varray friend)...
I am not aware of any limitation or inefficence of VEC which should limit its
use for dynamically-sized use cases. I believe VEC is superior to VARRAY in all
regards (including being type safe).
Giovanni Bajo