Hey! I made a pure Lua big-number library for Roblox (Lua 5.1+)
GitHub: https://github.com/SupTan85/int
I’m looking for feedback on:
• Performance
• Bugs
• Feature ideas
If you try it, let me know what you think. Thanks!
Hey! I made a pure Lua big-number library for Roblox (Lua 5.1+)
GitHub: https://github.com/SupTan85/int
I’m looking for feedback on:
• Performance
• Bugs
• Feature ideas
If you try it, let me know what you think. Thanks!
Code uses a lot of dynamic checks for no reason
If you want to talk about Lua specifically i don’t think that roblox devforum is meant for that, its focused around Luau
You also use metatables alot which is bad for performance even I’d say AWFUL when goal is optimization
You also for some reason try to simulate _ENV but its not a thing in Luau
Code can be shortened to 200-500 lines if you remove this unnecessary bloat that does nothing good and makes code harder to understand and kills performance
oh thank you!
can you mark a line of code?
that should be fix or do something?
dynamic check was for cleaning object memory
well if it bad or not helpful, i will remove it…
_ENV for sharing memory for metatable when it use function
when create new object metatable should be linked
note: am not sure on Luau. lol
anyway i want my module support / work well on Luau
metatable, i use it for calculate with +, -, *, /
without call function and easier to use module.
checkpoint: 80d854723ebc3b72fd003e4926b16c60536af8f2