Skip to content

Conversation

@JoviDeCroock
Copy link
Member

I realised why I didn't see performance differences in #4080 I was targeting the wrong branch 😅 This takes the transform used in #3691 and updates it to recent TS versions and adds one for Array destructuring.

The transform that takes on for..of will only optimize usage that isn't relying on iterator i.e. plain arrays vs Map.

I have been seeing issues running the benchmarks, looking into that atm.

@netlify
Copy link

netlify bot commented May 8, 2024

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit ae3fc42
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/663b14ec089863000838131d
😎 Deploy Preview https://deploy-preview-4084--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@JoviDeCroock
Copy link
Member Author

After getting the benchmarks to run, this seems resolved 😅 sorry for the PR's

@JoviDeCroock JoviDeCroock deleted the improve-perf-iterator-usage branch May 8, 2024 06:03
@yaacovCR
Copy link
Contributor

yaacovCR commented May 8, 2024

sorry for the PR's

Even if this didn’t pan out, it’s super useful that you investigated it. Thank you!

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