Efficiency of array<Vec32uc, 8> vs. ContainerV<Vec32uc, 8>

News and research about CPU microarchitecture and software optimization
Post Reply
pauljurczak
Posts: 2
Joined: 2023-12-23, 6:25:39

Efficiency of array<Vec32uc, 8> vs. ContainerV<Vec32uc, 8>

Post by pauljurczak » 2023-12-23, 6:33:45

Is there an obvious performance penalty in using array<Vec32uc, 8> instead of ContainerV<Vec32uc, 8>? One reason for this choice is https://godbolt.org/ not having vector_containers.h available.

agner
Site Admin
Posts: 75
Joined: 2019-12-27, 18:56:25
Contact:

Re: Efficiency of array<Vec32uc, 8> vs. ContainerV<Vec32uc, 8>

Post by agner » 2023-12-23, 15:21:10

No, there is no performance penalty.

Post Reply