What is the translation of " HIDDEN CLASSES " in Chinese?

['hidn 'klɑːsiz]
['hidn 'klɑːsiz]

Examples of using Hidden classes in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
You would assume that for both p1 and p2 the same hidden classes and transitions would be used.
你可能以为P1、p2使用相同的隐藏类和转换,其实不然。
Hidden classes work similarly to the fixed object layouts(classes) used in languages like Java, except they are created at runtime.
隐藏类的工作方式与Java等语言中使用的固定对象布局(类)类似,除了它们是在运行时创建的。
Now, you would assume that for both p1 and p2 the same hidden classes and transitions would be used.
现在你可能认为p1和p2使用相同的隐藏类和转换。
Hidden classes work similarly to the fixed object layouts(classes) used in languages like Java, except they are created at runtime.
隐藏类的作用类似于在Java语言中的固定对象模版(Classes),除非它们是在运行时创建的。
You would assume that for both p1 and p2 the same hidden classes and transitions would be used.
看到上面的代码,你会认为对于p1和p2,将使用相同的隐藏类和转换。
Since using dictionaries to find the location of object properties in the memory is very inefficient,V8 uses a different method instead: hidden classes.
由于使用字典在内存中查找对象属性的位置效率非常低,因此V8使用不同的方法:隐藏类
Now, you would assume that for both p1 and p2 the same hidden classes and transitions would be used.
现在,您将假设对于p1和p2,将使用相同的隐藏类和转换。
Since using dictionaries to find the location of object properties in the memory is very inefficient,V8 uses a different method instead: hidden classes.
由于使用字典结构去查找属性值在内存当中的位置是非常低效的,V8使用来一个不同的方法去替代:隐藏类
Thus,“p1” and“p2” end up with different hidden classes as a result of the different transition paths.
因此,p1和p2会以不同的类转换路径结束,隐藏类也不同。
In such cases,it's much better to initialize dynamic properties in the same order so that the hidden classes can be reused.
在这种情况下,以相同的顺序初始化动态属性要更好,这样隐藏类才可以被重用。
Thus,“p1” and“p2” end up with different hidden classes as a result of the different transition paths.
因此,“p1”和“p2”以不同的隐藏类和不同的类转换结束。
In such cases,it's much better to initialize dynamic properties in the same order so that the hidden classes can be reused.
在这种情况下,以相同的顺序初始化动态属性要好得多,以便可以重用隐藏的类
Thus,“p1” and“p2” end up with different hidden classes as a result of the different transition paths.
因此,由于不同的转换路径,“p1”和“p2”以不同的隐藏类结束。
In such cases,it's much better to initialize dynamic properties in the same order so that the hidden classes can be reused.
在这两种情形下,其实最好是用相同的顺序初始化动态属性,这样隐藏类就可以被复用了。
Thus,“p1” and“p2” end up with different hidden classes as a result of the different transition paths.
这样,“p1”和“p2”就在不同的转换路径作用下,有了不同的隐藏类
Order of object properties:always instantiate your object properties in the same order so that hidden classes, and subsequently optimized code, can be shared.
对象属性的顺序:始终以相同的顺序实例化对象属性,以便可以共享隐藏类和随后优化的代码.
Hidden class transitions are important because they allow hidden classes to be shared among objects that are created the same way.
隐藏类转换很重要,因为它们可以让隐藏类在以相同方式创建的对象之间共享。
However, most real-world code doesn't follow this pattern,and often keys have different hidden classes, leading to slow megamorphic IC lookups of the hash code.
然而真实世界的JS代码一般不按这套方式编写,且key经常都拥有不同的hiddenclass导致如果使用monomorphicIC查找来查找hashcode会非常慢。
The hidden class for the point object below is now“C1”.
下面的Point对象的隐藏类现在是“C1”。
The hidden class for the point object below is now“C1”.
下面这个Point对象的隐藏类现在就是“C1”了。
The hidden class for the point object below is now“C1”.
下面的点对象的隐藏类现在是“C1”。
Every time a new property is added to an object,the old hidden class is updated with a transition path to the new hidden class.
每次将新属性添加到对象时,旧的隐藏类都会更新为新隐藏类的转换路径。
This works well for monomorphic IC lookups,when the keys have the same hidden class.
这套方案在monomorphicIC查找上工作的很好,前提条件是当所有的key都拥有相同的hiddenclass
Once the“new Point(1, 2)” invocation happens,V8 will create a hidden class called“C0”.
一旦“新Point(1,2)”调用发生,V8将创建一个名为“C0”的隐藏类
This ensures that all objects created with it have the same hidden class and helps avoid changing these classes..
这将确保它创建的所有对象具有相同的隐藏类,并有助于避免更改这些类。
Every time a new property is added to an object,the old hidden class is updated with a transition path to the new hidden class.
每当向对象添加一个新属性时,旧的隐藏类就被用一个转换路径更新为新的隐藏类
Every time a new property is added to an object,the old hidden class is updated with a transition path to the new hidden class.
每当一个新的属性被添加到一个对象时,旧的隐藏类将被更新为到新的隐藏类的转换路径。
The hidden class for the point object below is now“C1”.
那么,现在这个point对象的隐藏类就是“C1”了。
Displays level 1 warnings plus certain, less-severe warnings,such as warnings about hiding class members.
显示1级的警告以及某些不太严重的警告,例如有关隐藏类成员的警告。
Results: 29, Time: 0.0256

Word-for-word translation

Top dictionary queries

English - Chinese