WTS valakas-antharas-zaken-baium-qa on x1 l2 reborn.
A better price will be made if u choose to purchace all of it.
Middleman @PUFA
NOTE: dont even bother to pm me if u only want 1 epic.the minimum trade will be anth+valakas+baium or anth+valakas.or 1 dragon+baium.
I find this and i want to share it
https://mega.nz/file/Aj8gGSBQ#Kgf2ynlIkWFjXaQumYFwmYjywi2VQb88amxjVQV9w_I
There is also a video to show you how that work
i just re-share it i am not the creator
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
Question
Solomun
Lets say i have an ArrayList list = new arraylist<l2pcInstance>. This list has about 1.000.000 l2pcinstance objects.
Do you think this would be a problem?
Lets say i want to create a method somewhere like:
getPlayersByLocation(String location)
{
ArrayList beta = new ArrayList<L2PcInstance>();
for (L2PcInstance pc : list)
{
if (pc.getLocation.equals(location)
beta.add(pc);
}
return beta;
}
Do you think this would cause a problem to servers memory? If this arraylist has about 1m items + i search in all of them frequntly?
I mean, it is better to search all time the database (SELECT from players where location = location)?
Link to comment
Share on other sites
8 answers to this question
Recommended Posts