-
Notifications
You must be signed in to change notification settings - Fork 406
add formatters #3885
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
add formatters #3885
Conversation
const buf = fflate.strToU8(rawValue); | ||
const value = Buffer.from(fflate.zlibSync(buf)); | ||
|
||
await this.createHash(prefix, value, true); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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() { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
No description provided.