How much stress can a BindableEvent handle?

I’m planning on using BindableEvent for a game, But the problem is that the same BindableEvent will be fired a lot of times per second.

I’m wondering if that will cause stuff to break or make things slower, And i haven’t been able to find any information about it, Any help is appreciated.

1 Like

why do you need to fire a bindable event a lot of times per second? it shouldn’t but seems unnecessary.

1 Like

I want to allow the player to make buttons that activate other things all connected by the same id, I don’t want to loop through everything that the player has built just to find some parts that have the same id since i think that would cause worse optimization than just using a BindableEvent.

1 Like

Why don’t you register the player’s object inside table upon creation by the player’s id as the key? Would that not make it a lot more convenient to access?

1 Like

That would probably work, although as time goes by that list would be incredibly big, also considering the fact that there can be multiple ids in a single part, I could try it though.

1 Like

On the other side, you or the player probably won’t look at the list anyways and it takes more memory to connect than identify objects. :slight_smile:

Yeah, I guess that’ll work, It’ll take more work to do but i’ll try it, Thanks for the help! :grin:

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.