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

Sync to upstream/release/624 #1245

Merged
merged 87 commits into from May 3, 2024
Merged

Sync to upstream/release/624 #1245

merged 87 commits into from May 3, 2024

Conversation

andyfriesen
Copy link
Collaborator

What's changed?

  • Optimize table.maxn. This function is now 5-14x faster
  • Reserve Luau stack space for error message.

New Solver

  • Globals can be type-stated, but only if they are already in scope
  • Fix a stack overflow that could occur when normalizing certain kinds of recursive unions of intersections (of unions of intersections...)
  • Fix an assertion failure that would trigger when the __iter metamethod has a bad signature

Native Codegen

  • Type propagation and temporary register type hints
  • Direct vector property access should only happen for names of right length
  • BytecodeAnalysis will only predict that some of the vector value fields are numbers

Internal Contributors

Co-authored-by: Alexander McCord amccord@roblox.com
Co-authored-by: Andy Friesen afriesen@roblox.com
Co-authored-by: Aviral Goel agoel@roblox.com
Co-authored-by: Vyacheslav Egorov vegorov@roblox.com

aatxe and others added 30 commits November 3, 2023 12:47
- Add SUBRK and DIVRK bytecode instructions
    - Enables future performance optimizations

Miscellaneous
- Small performance improvements to new non-strict mode
- Introduce more scripts for fuzzing
- Improcements to dataflow analysis
Co-authored-by: Alexander McCord <amccord@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: David Cope <dcope@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
@andyfriesen andyfriesen merged commit 8a64cb8 into master May 3, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants