Skip to content

Conversation

mariasergeenko
Copy link
Contributor

No description provided.

@mariasergeenko mariasergeenko self-assigned this Oct 2, 2024
@mariasergeenko mariasergeenko changed the title add brotli add formatters Oct 2, 2024
const buf = fflate.strToU8(rawValue);
const value = Buffer.from(fflate.zlibSync(buf));

await this.createHash(prefix, value, true);
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need createString here too?

Copy link
Contributor

Choose a reason for hiding this comment

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

and in all methods below

await this.createBrotliPickleKeys();
}

private async createBrotliUnicodeKeys() {
Copy link
Contributor

Choose a reason for hiding this comment

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

what about comments with description for all your methods?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe that for private methods, especially those with self-explanatory names, comments may not always add significant value. it just clutters up the code

Copy link
Contributor

Choose a reason for hiding this comment

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

okay

@mariasergeenko mariasergeenko merged commit 2263ab2 into main Oct 7, 2024
4 of 6 checks passed
@mariasergeenko mariasergeenko deleted the e2e/feature/decompressors branch October 7, 2024 12:41
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.

2 participants