Shorter RPC Functions name = Faster ?

Options
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

  • chvetsov
    Options
    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
  • Ok thx :)
  • Tobias
    Options
    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.