You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just looking at an old project I'm preparing to update. I added MoonSharp back when it was being first written so have come back to look at changes.
Although merges have happened since v2, the Unity source folder hasn't been kept in sync. Am I to assume the Unity folder is otherwise identical and it's just a matter of lack of sync'ing?
My use cases involved a lot of DynValue usage. As such, I customised mine to work with a DynValue pool. Changes were minimal, basically meaning the code no longer did new DynValue() in DynValue.cs but instead called a function to get a free DynValue from the pool. This was very (very) significantly faster due to not causing garbage. I suspect that's still true although I haven't used .net for a good few years.
Any thoughts on this being a core change?
I can also see I did the same with SourceRef and CallStackItem.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm just looking at an old project I'm preparing to update. I added MoonSharp back when it was being first written so have come back to look at changes.
Although merges have happened since v2, the Unity source folder hasn't been kept in sync. Am I to assume the Unity folder is otherwise identical and it's just a matter of lack of sync'ing?
My use cases involved a lot of DynValue usage. As such, I customised mine to work with a DynValue pool. Changes were minimal, basically meaning the code no longer did new DynValue() in DynValue.cs but instead called a function to get a free DynValue from the pool. This was very (very) significantly faster due to not causing garbage. I suspect that's still true although I haven't used .net for a good few years.
Any thoughts on this being a core change?
I can also see I did the same with SourceRef and CallStackItem.
Beta Was this translation helpful? Give feedback.
All reactions