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

Circular references, flcone and build improvements #38

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

muuvmuuv
Copy link

Since I know you think this is out of scope maybe you are anyway interested in.

  • Added circular.js file which kinda mimics the lodash behaviour
  • Added flcone in bench table (I wanted to compare that one)
  • Use "esbuild" to build for smaller builds

I also noticed that your gzip numbers aren't right. Seems bundlt does not calculate them correctly.

Everything ron on a: iMac21,2 macOS 12.4 arm64 in zsh

Closes: #37

Copy link
Owner

@lukeed lukeed left a comment

Choose a reason for hiding this comment

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

Please remove all the build changes & the CI changes. PRs should be just the addition of klona/circular bits.

And remove the options on klona/circular. If someone is opting into klona/circular mode, then they're gunna get circular support. That's the point of the submodules – opting into additional behaviors. Plus it's a different API, even if it's an optional parameter.

@muuvmuuv
Copy link
Author

Sure, didn't considered this as a valid "to merge" pr just some overall improvements I did while debugging and finding ways of giving more performance.

Once I get to our ticket again to remove lodash-es/clone(deep) I will open another one. :)

Just thought you wanna see what else I did since you said its out-of-scope.

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.

Ignore circular references
2 participants