Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement brotli one shot methods #2660

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Implement brotli one shot methods #2660

merged 1 commit into from
Sep 9, 2024

Conversation

npaun
Copy link
Member

@npaun npaun commented Sep 5, 2024

No description provided.

@npaun npaun requested review from a team as code owners September 5, 2024 03:03
@npaun npaun force-pushed the npaun/brotli-one-shot branch 5 times, most recently from e797392 to 3f23a80 Compare September 5, 2024 03:18
@npaun npaun force-pushed the npaun/brotli-one-shot branch from d6f1008 to d09f138 Compare September 5, 2024 18:53
@npaun npaun force-pushed the npaun/brotli-one-shot branch from d09f138 to 2b432c2 Compare September 5, 2024 20:24
queueMicrotask(() => {
if (error) {
callback(new Error(error));
if (res instanceof Error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Is there a way to avoid this check on the runtime. Checking for truthy value vs. instanceof checks have different characteristics and runtime performance costs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look into whether some template voodoo is possible

Add more brotli tests
@npaun npaun force-pushed the npaun/brotli-one-shot branch from 2b432c2 to 05f6554 Compare September 6, 2024 21:39
@anonrig anonrig merged commit 94db96e into main Sep 9, 2024
13 checks passed
@anonrig anonrig deleted the npaun/brotli-one-shot branch September 9, 2024 14:05
@npaun npaun mentioned this pull request Sep 9, 2024
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants