Template:CD2/doc

From Valve Developer Community
Jump to navigation Jump to search

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