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

Merge master in develop #144

Merged
merged 36 commits into from
Aug 17, 2023
Merged

Merge master in develop #144

merged 36 commits into from
Aug 17, 2023

Conversation

levno-710
Copy link
Member

No description provided.

levno-710 and others added 30 commits February 21, 2023 21:25
Fixed extra comma in enums.lua
grammar correction
This fix adds a "5" to the 3rd argument, as Lua 5.1.5 has a very unusual bug where if the 3rd argument doesn't exist, nothing happens.
Some IDEs will use CRLF line endings instead of just a newline (things on Windows)

This fixes it so that they will use the proper LF ie. a single newline instead of a carriage return and a newline
This makes git automatically convert invalid CRLF line endings to LF (If improperly done by an IDE)
Made IDEs correctly use Unix LF instead of CRLF
Update using-prometheus-in-your-lua-application.md
SpinnySpiwal and others added 6 commits August 12, 2023 01:58
Code optimization - compound operators
`getPosition` Heavily decreased the performance due to using the `gsub` function.

This change decreased the parsing time of a 27kb file from 4.35 seconds to just 0.1 seconds.

`getPosition` also behaved incorrectly as is returned the wrong line position.
Fixed edge case i encounterd
Add better `getPosition` implementation
@levno-710 levno-710 merged commit 35cd0f5 into develop Aug 17, 2023
1 check passed
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.

8 participants