Why do we have input buffering?

I have been having trouble lately with inputs not triggering at all (see Input delay on heavy release).
I haven’t tested whether weapon swapping was impacted, but I wouldn’t be surprised. I haven’t ever had a problem with weapon swapping, except perhaps from Sienna’s staff to melee at times, as the weapon swap is a priority input afaik.
The bugs could be related.