Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Loading furnidata (Question?)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mikee" data-source="post: 417501" data-attributes="member: 76567"><p>I don't have an answer for you but I definitely don't recommend loading it from furnidata UNLESS the furnidata is sorted. Because if you did keep it sorted then you could do a bisection search and pull item data that way, which in return WOULD be a good idea. (But once again the data NEEDS to be sorted)</p><p></p><p>Why would a sorted furnidata with item data be a good chocie IF sorted?</p><p>A bisection sort has a complexity of O(Logn), While a database lookup has a complexitiy of O(n) therefore a bisection search aka pulling itemdata from furnidata file would be faster (IF SORTED!!).</p><p></p><p>Why do i emphasize sortment?</p><p>Because its expensive.</p><p>You'd need to sort the data once and keep it sorted or else it'll be a mess.</p><p>If you sort it each time you run a bisection sort it'll be more expensive than a db lookup.</p><p>So sort it once, keep it sorted, and its a great idea.</p></blockquote><p></p>
[QUOTE="Mikee, post: 417501, member: 76567"] I don't have an answer for you but I definitely don't recommend loading it from furnidata UNLESS the furnidata is sorted. Because if you did keep it sorted then you could do a bisection search and pull item data that way, which in return WOULD be a good idea. (But once again the data NEEDS to be sorted) Why would a sorted furnidata with item data be a good chocie IF sorted? A bisection sort has a complexity of O(Logn), While a database lookup has a complexitiy of O(n) therefore a bisection search aka pulling itemdata from furnidata file would be faster (IF SORTED!!). Why do i emphasize sortment? Because its expensive. You'd need to sort the data once and keep it sorted or else it'll be a mess. If you sort it each time you run a bisection sort it'll be more expensive than a db lookup. So sort it once, keep it sorted, and its a great idea. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Loading furnidata (Question?)
Top