OLD | NEW |
(Empty) | |
| 1 # 0.0.38 |
| 2 |
| 3 ## Fixes |
| 4 |
| 5 - **key:** made Key part of di.dart again |
| 6 ([fe390ddf](https://github.com/angular/di.dart/commit/fe390ddf25c230e2c98cff06
28297e42584f6945)) |
| 7 |
| 8 |
| 9 # 0.0.37 |
| 10 |
| 11 Combined with previous release (0.0.36) injector is on average 2x faster. |
| 12 |
| 13 Before: |
| 14 ``` |
| 15 VM: |
| 16 DynamicInjectorBenchmark(RunTime): 231.93784065870346 us. |
| 17 StaticInjectorBenchmark(RunTime): 107.05491917353602 us. |
| 18 |
| 19 dart2js: |
| 20 DynamicInjectorBenchmark(RunTime): 2175 us. |
| 21 StaticInjectorBenchmark(RunTime): 765.1109410864575 us. |
| 22 ``` |
| 23 |
| 24 After: |
| 25 |
| 26 ``` |
| 27 VM: |
| 28 DynamicInjectorBenchmark(RunTime): 156.3721657544957 us. |
| 29 StaticInjectorBenchmark(RunTime): 54.246114622040196 us. |
| 30 |
| 31 dart2js: |
| 32 DynamicInjectorBenchmark(RunTime): 1454.5454545454545 us. |
| 33 StaticInjectorBenchmark(RunTime): 291.9281856663261 us. |
| 34 ``` |
| 35 |
| 36 ## Bug Fixes |
| 37 |
| 38 - **warnings:** refactored injector to fix analyzer warnings |
| 39 ([7d374b19](https://github.com/angular/di.dart/commit/7d374b196e795d9799c95a4e
63cf497267604de9)) |
| 40 |
| 41 ## Performance Improvements |
| 42 |
| 43 - **injector:** |
| 44 - Make resolving a linked-list stored with the frame |
| 45 ([c588e662](https://github.com/angular/di.dart/commit/c588e662ab0f33dc645c8e17
0492c0c25c1085a5)) |
| 46 - Do not closurize methods. |
| 47 ([5f47cbd0](https://github.com/angular/di.dart/commit/5f47cbd0dc28cb16e497baf5
cfda3c6499f56eb5)) |
| 48 - Do not check the circular dependency until we are 30 deep. |
| 49 ([1dedf6e3](https://github.com/angular/di.dart/commit/1dedf6e38fec4c3fc882ef59
b4c4bf439d19ce0a)) |
| 50 - Track resolving keys with the frame. |
| 51 ([17aeb4df](https://github.com/angular/di.dart/commit/17aeb4df59465c22cd73ae5c
601cb8d0f872c57b)) |
| 52 - **resolvedTypes:** minor performance inmprovement in resolvedTypes |
| 53 ([ba16bde5](https://github.com/angular/di.dart/commit/ba16bde5084eb3a2291ca3d2
fb38de06ac734b03)) |
| 54 |
| 55 |
| 56 # 0.0.36 |
| 57 |
| 58 ## Performance Improvements |
| 59 |
| 60 - **injector:** |
| 61 - skip _checkKeyConditions in dart2js |
| 62 ([6763552a](https://github.com/angular/di.dart/commit/6763552adccdc41ef1043930
ea50e0425509e6c5)) |
| 63 - +29%. Use an array for type lookup instead of a map. |
| 64 |
OLD | NEW |