egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Processing large amounts of data

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
antsukka
Voice


Joined: 03 Jan 2010
Posts: 2

PostPosted: Sun Jan 03, 2010 11:46 am    Post subject: Processing large amounts of data Reply with quote

I'm writing this dictionary style script that is going to have tens of thousands of data entries. Sadly my target server doesn't allow me to install mysqltcl so I'm settling into putting my data into a .csv file (If you have any ideas for data storage that don't require any dependencies I'd like to hear them too). However going through text file line by line sounds really inefficient. So I was wondering if anyone has done such scripts before and maybe have some tips or examples how to reduce unnecessary server load and more importantly - seek times.

I was thinking about dividing my data into multiple files. After all entries have their unique identifiers as search key and therefore can be easily spread into logical pieces that would be only couple of thousand lines long. I'm really lazy coder, if you have existing code to do such search from multiple files please paste it here ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber