You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: improve addChild and path performance (#1891)
Improve the performance of the `constructs` library by removing several branches in the library's hot paths and switching to some more performant operations.
On my laptop, the benchmark I used (shared in a gist [here](https://gist.github.com/Chriscbr/fa69e5f7f35d5aa4dc312dd7025952b1)) takes about 5.0-5.3 seconds with the old version of constructs, and about 1.1-1.2 seconds with the new version of constructs.
Misc:
- Removed an unused file in the `test` folder.
- Added some files to `npmignore` to reduce the package's npm footprint.
0 commit comments