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

perf(transformer): pre-calculate unsupported flags in RegExp transform #5482

Commits on Sep 5, 2024

  1. perf(transformer): pre-calculate unsupported flags in RegExp transform (

    #5482)
    
    Calculate unsupported RegExp flags at start, to make checking flags on each RegExp during traversal cheaper (a single OR operation). i.e. do work once at the start, rather than over and over each time you find a `RegExp`.
    overlookmotel committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    182ab91 View commit details
    Browse the repository at this point in the history