angular-docs-cn/packages/service-worker/worker/src
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
..
adapter.ts fix(service-worker): registration failed on Safari (#31140) 2019-06-24 14:58:58 -07:00
api.ts fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
app-version.ts feat(service-worker): support multiple apps on different subpaths of a domain (#27080) 2019-03-21 12:07:56 -04:00
assets.ts refactor(service-worker): make second parameter to `Adapter#parseUrl()` optional (#27080) 2019-03-21 12:07:56 -04:00
data.ts refactor(service-worker): remove redundant cache operation (#30977) 2019-06-27 09:52:29 -07:00
database.ts
db-cache.ts feat(service-worker): support multiple apps on different subpaths of a domain (#27080) 2019-03-21 12:07:56 -04:00
debug.ts fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
driver.ts feat(service-worker): support bypassing SW with specific header/query param (#30010) 2019-04-25 13:09:44 -07:00
error.ts fix(service-worker): do not blow up when caches are unwritable (#26042) 2018-09-24 09:53:39 -07:00
idle.ts fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
manifest.ts fix(service-worker): detect new version even if files are identical to an old one (#26006) 2019-03-05 09:41:44 -08:00
msg.ts
service-worker.d.ts refactor(service-worker): update tests based of review feedback (#25860) 2018-11-01 15:13:32 -07:00
sha1.ts perf: don't create holey arrays (#32155) 2019-08-21 08:27:43 -07:00