crisbeto
66725b7b37
perf(ivy): move local references into consts array (#33129)
Follow-up from #32798. Moves the local references array into the component def's `consts` in order to make it compress better.
Before:
```
const _c0 = ['foo', ''];
SomeComp.ngComponentDef = defineComponent({
template: function() {
element(0, 'div', null, _c0);
}
});
```
After:
```
SomeComp.ngComponentDef = defineComponent({
consts: [['foo', '']],
template: function() {
element(0, 'div', null, 0);
}
});
```
PR Close #33129
2019-11-04 16:30:53 +00:00
..
2019-10-17 16:10:10 -04:00
2019-05-24 16:55:00 -04:00
2019-11-01 17:47:49 +00:00
2019-10-24 17:42:46 -07:00
2019-10-23 16:40:12 -07:00
2019-10-14 20:27:25 +00:00
2019-08-29 21:51:56 -07:00
2019-10-14 20:27:25 +00:00
2019-10-14 20:27:25 +00:00
2019-10-14 20:27:25 +00:00
2019-10-16 16:36:19 -04:00
2019-10-14 20:27:25 +00:00
2019-10-24 14:42:15 -07:00
2017-12-21 21:40:58 -08:00
2019-07-23 15:45:32 -07:00
2019-06-05 09:04:13 -07:00
2019-08-29 21:51:56 -07:00
2019-10-14 20:27:25 +00:00
2019-10-14 20:27:25 +00:00
2019-10-25 13:11:34 -07:00
2019-10-14 20:27:25 +00:00
2019-11-04 16:30:53 +00:00
2019-08-29 21:51:56 -07:00
2019-01-10 16:31:44 -08:00
2019-09-10 06:31:22 -04:00
2019-10-14 20:27:25 +00:00
2019-01-10 16:31:44 -08:00
2019-10-14 23:08:10 +00:00
2019-10-16 16:36:19 -04:00
2019-10-14 20:27:25 +00:00
2019-11-04 16:30:53 +00:00
2019-11-04 16:30:53 +00:00
2019-10-14 20:27:25 +00:00
2018-07-31 15:09:32 -07:00
2019-11-04 16:30:53 +00:00
2019-10-09 13:16:55 -07:00