angular/packages/compiler/src/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.ts feat(ivy): include value spans for attributes, variables and references (#30181) 2019-07-25 16:36:32 -07:00
template_ast.ts refactor(compiler): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
template_parser.ts perf: don't create holey arrays (#32155) 2019-08-21 08:27:43 -07:00
template_preparser.ts refactor(compiler): misc minor (#23441) 2018-04-19 16:32:09 -07:00