On Fri, 10 Feb 2023 20:25:41 +0300
Levend Sayar <levendsa...@gmail.com> wrote:

> Accessing a stack variable is faster.
> So copying to given stats pointer will be done at once.
> But of course, given stats pointer can also be used.

I doubt there is an observable difference.

Access to a stack variable is offset from register.
Access to the stats (parameter) is offset from a different register.
The area reserved for stats will already be in cache since it was
just zero'd by the caller.

Reply via email to