Erik de Castro Lopo wrote:
> Googling suggests that use of restrict is a little controvertial.
Maybe, but Opus encoder uses this keyword in its en-/decoding routines.
So I think it's not dangerous.
> Also, do you have any idea why this causes such a slow down in VS10 and
> VS12?
Without __restr
lvqcl wrote:
> Encoding time, in seconds:
> GCC 32-bit: 180 (16% speedup)
> ICC 32-bit: 121 (7.5%)
> VS10 32-bit: 439 (sic!)
> VS12 32-bit: 440 (sic!)
>
> GCC 64-bit: 72.8 (9%)
> ICC 64-bit: 75.0 (8%)
> VS10 64-bit: 75.7 (7%)
> VS12 64-bit: 77.7 (7%)
>
>
> Also I wonder what other functions