-
@feross
if ('CompressionStream' in self) { // Use one-liner. } else { // Pull in library. }seems like a decent strategy to me… 😃 Didn’t benchmark yet, but optimistic the built-in implementation beats any user land impl., especially when downloading and parsing code is factored in. -
@feross And just to be sure, this isn’t belittling the user land library at all, it’s an awesome implementation that has immediately gone into my bookmarks when you shared it.