ZHCUAU3J January 2018 – March 2024
advice #35000-D: (Performance) Consider adding the restrict qualifier to the declaration of "variable" to improve loop performance.
此建议确定了使用 restrict
限定函数参数的机会(如果这样做可能有助于提高循环性能)。确保通过 restrict 进行限定的指针不违反此类指针的任何限制;不能使用其他指针访问受限指针指向的对象。
若要查看有关使用 restrict 的更多信息,请参阅节 5.5.4