angular-docs-cn/packages/compiler/test/template_parser
Miško Hevery 64770571b2 perf: don't create holey arrays (#32155)
Don't use `Array` constructor with the size value (ex. `new Array(5)`) - this will create a `HOLEY_ELEMENTS` array (even if this array is filled in later on!);

https://v8.dev/blog/elements-kinds
https://stackoverflow.com/questions/32054170/how-to-resize-an-array

PR Close #32155
2019-08-21 08:27:43 -07:00
..
binding_parser_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
template_parser_spec.ts perf: don't create holey arrays (#32155) 2019-08-21 08:27:43 -07:00
template_preparser_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00