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

Changeset: Various minor cleanups and fixes #5268

Merged
merged 22 commits into from
Nov 13, 2021
Merged

Conversation

rhansen
Copy link
Member

@rhansen rhansen commented Nov 9, 2021

Multiple commits; please do not squash.

This is the first batch of commits from PR #5233.

@webzwo0i This is likely to conflict with #5253.

These functions aren't used outside of this file.
I saw this on a production system today and wanted more information.
`slicerZipperFunc()` previously assumed the provided `opOut` argument
was a null Op. Enforce this by clearing it at the beginning.
Use `Object.assign()` to implement `copyOp()`, which simplifies the
code and provides a return value. Also make the second op optional.
This improves readability and reduces the chances of introducing a
bug.
People report that string concatenation is faster. Also, I think it's
more readable.
@rhansen rhansen force-pushed the rhansen-changeset-cleanups branch from d609ea7 to 1bbe0d9 Compare November 13, 2021 22:49
@rhansen rhansen merged commit 1bbe0d9 into develop Nov 13, 2021
@rhansen rhansen deleted the rhansen-changeset-cleanups branch November 13, 2021 22:50
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.

1 participant