Is It Necessary to Show Prices while Searching for RS Items on the GE?
Have you searched for items on the GE? Do you think it is necessary to show prices of your needs? Someone supports it, but, others hold the opposite view. In a word, preparing useful items gained by using cheap rs3 gold is helpful for your game. Here, we will share others thoughts with you.
To some extent, the efficiency of the lookups may lie on how many items are sellable and buyable. If you want to know the prices of those items, you must load it from the official servers and all that data is held locally. In that case, you can set a value before buying something and free yourself from this condition that when things just don't buy/sell at your price, especially when you want to buy something and have to enter the information in again. That would require way more work than you might think. It is not a hard thing for them to have the client fetch a new list of Grand Exchange items along with all the prices once upon a login. Also, anything and everything they can do to make the guide prices more accurate would be awesome.
Some people don't think the items are stored client side, since there is latency in the lookup of the item. Prices are stored in a separate table link by item ID. When you're constantly crossing referencing tables for each item to get the price for them all, the complexity of your algorithm goes from O(x) to O(x2). The result would be insanely slower lookups via really taxing service calls on the server. Maybe, an efficient algorithm is to find all the items with names that match the regular expression. So at worst, the complexity to lookup prices is O (n log (n)). Either way, if you make it dynamically filter as the user types, the performance would then become O (n log (n)) multiplied by number of filtered items for every key press. At last, when the user is refining their search through adding letters to the end of the search term, you don't have to search the entire database again. Instead, the only thing you should do is to re-check your set of matches from the old search and remove all the ones that don't match the new search term.
In general, it would be difficult to implement the client requesting all those numbers, because most of which aren't used at once. So, it probably ends up adding to a big load with thousands or millions of searches a day. Anyway, you can get useful supplements with more choices and really cheap rs3 gold can help you enjoy your game to the max.
The RS3gold Team