Jump to content

Mat Groves
 Share

Recommended Posts

Hey All!

Thought you guys might like too check out mini-runner a simple alternative to events and signals with an emphasis on performance.

It currently forms the backbone of the messaging system in our game engine. Its working out great for things like update events, collision events etc.

Great to use if you are say looping through and array and calling the same function on each object. The resulting code is cleaner than a loop whilst still keeping the performance as fast as possible.

So yeah, if you are dispatching signals/events to a lot of listeners often (like everyframe often), then I would considor using this alternative. For most cases, this performace boost is not really important enough to switch from your current fave.

Think of this as a nice alternative for when speed really counts!

https://github.com/GoodBoyDigital/mini-runner/

Cheers!

68747470733a2f2f70686f746f732d362e64726f70626f782e636f6d2f742f322f41414148414675336376466c4559564d726b6c7a702d79616152384f6e455a70625344464a4c352d63544b6774672f31322f3633363735303034372f706e672f33327833322f332f313438393730383830302f302f322f.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...