1. G'day all, been a little while :)

    I'm just knocking together a couple of mods for the 'New Rust', and at least one of them has the need to run through a bunch of effect triggers (imagine, for the sake of example, @Wulf 's slap mod being used to slap 100 players on the server at once or in sequence :D).

    I was just trying to make sure I don't make it unnecessarily inefficient, and was wondering if anyone would recommend I (in the hypothetical example) resolve all player positions then make a call to a 'slapperson' function 100 times with the different positions, or pass the table of vectors to a slappeople function which iterates through the list itself? Is there likely to be much difference performance-wise if the plugin is compiled as Oxide 2 does?

    Edit: and this is in C# as I'm trying to learn it.

    Thanks and hope everyone had/is having a great Xmas ;)
     
    Last edited by a moderator: Dec 26, 2015