angular-docs-cn/aio/content/examples/universal
Shavi Pathania 0fedb57cb0 docs(aio): Clearing array with [] (#20369) (#20395)
Clearing array with setting length to 0 replaced with [] for being short
and marginally efficient. For reference: [] is turned into a sequence of
around 15 machine instructions on x64 (if bump pointer allocation succeeds),
whereas a.length=0 is a C++ runtime function call, which requires 10-100x as
many instructions.
Benedikt Meurer

PR Close #20395
2017-11-16 16:19:35 -06:00
..
src docs(aio): Clearing array with [] (#20369) (#20395) 2017-11-16 16:19:35 -06:00
example-config.json docs(aio): update universal for CLI 2017-11-01 15:18:43 -07:00
server.ts docs(aio): update universal for CLI 2017-11-01 15:18:43 -07:00
tsconfig.json build(aio): change examples to CLI (#19248) 2017-09-21 17:05:54 -07:00
webpack.server.config.js docs(aio): update universal for CLI 2017-11-01 15:18:43 -07:00
zipper.json docs: add universal guide with production client app (#18707) 2017-10-09 14:46:04 -07:00