Skip to content

Ansi battery improvements#135

Closed
gaymeowing wants to merge 11 commits intoluau-lang:primaryfrom
gaymeowing:primary
Closed

Ansi battery improvements#135
gaymeowing wants to merge 11 commits intoluau-lang:primaryfrom
gaymeowing:primary

Conversation

@gaymeowing
Copy link
Contributor

@gaymeowing gaymeowing commented Apr 8, 2025

  • Replace use of the concat operator in replaceClose with table.concat, as table.concat is faster than repeatedly doing
    str ..= "meow"
  • Freeze the return table

@gaymeowing gaymeowing requested a review from aatxe May 1, 2025 13:14
Copy link
Member

@aatxe aatxe left a comment

Choose a reason for hiding this comment

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

I don't want us to ignore the code formatter just because "it's better." The whole point of the code formatter is that we don't have to have discussions about what is or isn't better.

@aatxe
Copy link
Member

aatxe commented May 4, 2025

I think this got superseded by the other PR for ansi, but feel free to reopen if some of this optimization is still needed.

@aatxe aatxe closed this May 4, 2025
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