New topic: 

Database seems slightly slow in WE

<http://forums.realsoftware.com/viewtopic.php?t=45205>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Farflame          Post subject: Database seems slightly slow in 
WEPosted: Sat Sep 01, 2012 8:45 am                         
Joined: Tue Oct 05, 2010 6:25 am
Posts: 173                I'm only testing out a database in WE so don't have 
much experience with either and could be doing stuff wrong. I'm testing on my 
local machine at the moment. I have an array which is (100,100,10) so 100,000 
integers in size. I was saving it as a standard file which saved in the blink 
of an eye, but decided to try saving it as part of the database. My thinking 
was that it would be nice to save everything in a single database instead of 
having lots of smaller files. I wasn't 100% sure how to save a 3d array so I've 
done 2 loops and saved the info in 12 columns (making is slightly larger) - the 
X and Y of the array then the 10 bits of information. Works fine, but it takes 
about 1 second to save. That's no big deal because it will make things faster 
later when I want to pick out individual columns etc and I won't need to save 
the whole array like this later.

I'm just wondering if this is something to be expected or if I'm doing 
something wrong. If it's normal for a database to be a bit slower in some 
circumstances, that's fine, otherwise, maybe I'm doing something wrong and need 
to look at my code?   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to