Skip to content

Refactored LuaTable implementation#16

Closed
Mytrin wants to merge 6 commits into
arcticfox1919:mainfrom
Mytrin:main
Closed

Refactored LuaTable implementation#16
Mytrin wants to merge 6 commits into
arcticfox1919:mainfrom
Mytrin:main

Conversation

@Mytrin

@Mytrin Mytrin commented Dec 30, 2022

Copy link
Copy Markdown

Greetings,

I've decided to fix #10. First commit of this MR contains a simple test, which proves that "next keys" map is not reinitialized after insertion of new key.

I ended up extracting parts of LuaTable to their own classes, so lazy initialization and null checks are encapsulated and easier to maintain.

@Mytrin Mytrin deleted the branch arcticfox1919:main January 14, 2023 23:16
@Mytrin Mytrin closed this Jan 14, 2023
@Mytrin Mytrin deleted the main branch January 14, 2023 23:16
@Mytrin Mytrin reopened this Jan 14, 2023
@Mytrin

Mytrin commented Jan 14, 2023

Copy link
Copy Markdown
Author

I moved changes into a new branch, so it messed up this PR a bit. Moved on into a new: #19

@Mytrin Mytrin closed this Jan 14, 2023
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.

A bug about traversing the table!

1 participant