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

feat: broad improvments #33

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

feat: broad improvments #33

wants to merge 7 commits into from

Conversation

tbnritzdoge
Copy link
Member

No description provided.

This was linked to issues Jun 21, 2021
@Nytelife26 Nytelife26 force-pushed the chore/squeeze-jit branch 3 times, most recently from 028413d to a31b3c1 Compare July 30, 2021 21:30
@Nytelife26 Nytelife26 force-pushed the chore/squeeze-jit branch 5 times, most recently from 8fe559a to c7ea117 Compare August 1, 2021 01:19
@Nytelife26 Nytelife26 changed the title feat: widescale improvments feat: broad improvments Aug 1, 2021
@Nytelife26 Nytelife26 force-pushed the chore/squeeze-jit branch 2 times, most recently from 109a0b2 to f2bb1d4 Compare August 1, 2021 01:37
@coveralls
Copy link

coveralls commented Aug 1, 2021

Coverage Status

coverage: 99.208% (+0.7%) from 98.557%
when pulling 50dfb60 on chore/squeeze-jit
into b9f24f9 on main.

@Nytelife26 Nytelife26 marked this pull request as ready for review August 1, 2021 01:48
@lgtm-com
Copy link

lgtm-com bot commented Aug 24, 2021

This pull request introduces 1 alert when merging 1103604 into b9f24f9 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

else val[val.length] = toA;
} else this.headers[key] = toA;
// eslint-disable-next-line @typescript-eslint/no-unnecessary-boolean-literal-compare, max-len, no-unused-expressions, max-statements-per-line, eqeqeq
if (val !== undefined) if (Array.isArray(val) == false) (this.headers[key] = [val, toA]); else (val[val.length] = toA);

Choose a reason for hiding this comment

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

Strict equality isn't necessary here:

Suggested change
if (val !== undefined) if (Array.isArray(val) == false) (this.headers[key] = [val, toA]); else (val[val.length] = toA);
if (val != undefined) if (Array.isArray(val) == false) (this.headers[key] = [val, toA]); else (val[val.length] = toA);

Copy link
Collaborator

Choose a reason for hiding this comment

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

@tbnritzdoge didn't we work out that strict equality ended up being faster in this instance?

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 thought we found out the opposite

@coveralls
Copy link

Coverage Status

coverage: 99.208% (+0.7%) from 98.557%
when pulling 2f492ba on chore/squeeze-jit
into b9f24f9 on main.

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.

refactor: overhaul undici interface Redirect not working
4 participants