Template:CD2

来自Valve Developer Community
跳转到导航 跳转到搜索
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
Info.png
文档页面 Template:CD2/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。

Usage

See Template:CD for usage.

The difference between this and CD is the implementation of the template. This template repeatedly calls Template:CD/superclass to build hierarchy while CD template calls that only once and the rest builds from "nodes" (another templates needed to be defined that are pieces of the class hierarchy). The result is CD template builds slightly faster.

{{CD|Hunter}} shows CPU time usage between ~ 0.068 - 0.11 seconds

{{CD2|Hunter}} shows CPU time usage between ~ 0.17 - 0.3 seconds