spiffydudex / navbot

Automatically exported from code.google.com/p/navbot
0 stars 0 forks source link

Crash when using large numbers of market reports #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
From Bradley Eltoch:

2007.09.12 21:35
And I think it's great

I still am having problems though with it crashing when loading a large 
number of market reports

Original issue reported on code.google.com by mark.oco...@gmail.com on 14 Oct 2007 at 9:12

GoogleCodeExporter commented 8 years ago
We should follow this up - it's possible (likely?) that NavBot isn't very 
memory or 
CPU efficient when working with very large numbers of exports from many 
different 
regions... the algorithm was written for correctness with little or no 
attention to 
performance.

Original comment by mark.oco...@gmail.com on 14 Oct 2007 at 9:13

GoogleCodeExporter commented 8 years ago
An easy way to help fix this is to cull the market reports.  Most reports have 
multiple entries at extremely low volumes (less than 1000 units) or with silly 
prices (more than 2x the lowest price (for selling) or 1/2 the highest price 
(for 
buyers)).    When loading the market reports, simple ignore those than don't 
fit 
this profile (I'm sure that more precise numbers could be used).

Original comment by marvl...@gmail.com on 1 Nov 2007 at 2:45