24.08.2014, 16:17
1) I consider as a heavy task each task that could take +0.5ms to execute, so tons of strcmp can be considered as a heavy task I think.
2) Wasn't aware of this, thanks for the information.
3) Filling the database with all the ips manually would have taken a significative amount of time. I can't clearly tell you how much since I haven't ever tried something of this kind, but I think you can guess.
4) PHP is a bad designed langage but though the most used arround the web developpement world. If you have a better one, then please tell me.
5) I don't think it's the same "discussion", first because as you've stated before, it's not "multi-threading" but "multi-processes" (even if this is slightly the same, for the purpose I explained), and even if I wasn't aware of this before, Mauzen told about a way of doing it purely in PAWN. Here, it's not only PAWN, but a couple of PAWN and PHP.
If it goes against a rule, then I'll post it on Mauzen's thread, just tell me.
2) Wasn't aware of this, thanks for the information.
3) Filling the database with all the ips manually would have taken a significative amount of time. I can't clearly tell you how much since I haven't ever tried something of this kind, but I think you can guess.
4) PHP is a bad designed langage but though the most used arround the web developpement world. If you have a better one, then please tell me.
5) I don't think it's the same "discussion", first because as you've stated before, it's not "multi-threading" but "multi-processes" (even if this is slightly the same, for the purpose I explained), and even if I wasn't aware of this before, Mauzen told about a way of doing it purely in PAWN. Here, it's not only PAWN, but a couple of PAWN and PHP.
If it goes against a rule, then I'll post it on Mauzen's thread, just tell me.