1 post in this topic

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

scheffgames, mattstyles and benny! like this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.