了解标识符解析(Identifier Resolution)的过程以后,我们就能明白为什么局部变量的解析速度要比其他作用域的变量快,主要是由于搜索过程被大幅缩短了。
基于16个网页-相关网页
Scope Chains and Identifier Resolution 作用域链和标识符解析
From the results, it's clear that there is a performance penalty associated with deep searches for identifier resolution. Each increase in identifier depth shows an increase in execution.
从结果中不难看出,当标识符解析的过程需要进行深度搜索时,会伴随性能损失,而且性能损失的程度会随着标识符深度的增加而递增。
The following table, the "best-fit" VNC profile choice for each display resolution, shows the "name" (identifier) for a resolution and the corresponding display size in pixels.
下表列出对于每种显示器分辨率最合适的vnc概要文件,给出分辨率的“名称”(标识符)和相应的显示器大小(以像素为单位)。
Notice that we don't get an error in the New York module with interface Pennsylvania because the outer Pennsylvania module has not been introduced via some scope resolution identifier.
请注意,我们在带有接口pennsylvania的New York模块中没有发生错误,因为通过某些作用域解析标识介绍外部Pennsylvania模块。
应用推荐