Shorter RPC Functions name = Faster ?

Hey,
does it make the netcode faster when i rename the RPC functions shorter ? Like addPlayerToACustomListLol to aptac or a, b, c ..etc ?? or something like this ?
theoretically it make sense that it is faster because of the lower bits to send..but does it ?

Comments

  • Hi, JackWhite

    I do not think that this will really matter. But yes, it will take less time for serialize/deserialize and will cost less trafick
  • If you are using the latest PUN, then "known" RPC names will automatically be replaced with byte IDs, which are more or less the ultimate time and bandwidth saver.
    For this, we run a script in the Editor to compile a list of methods with the RPC attribute and store this in an array for lookup.
Sign In or Register to comment.