I'm using a java class (RandomAccessFile) to read through a large text log file. My applet has a search capability, but it is not very efficient.
This is my lack of a Computer Science degree shows up. My search is a vanilla linear text search starting at the beginning and going to the end of the text file. It takes about 9 seconds to search approximately 1% of the file. I made this work by stopping it at a certain point (100 arbitrary "pages"). Not too bad. But are they more sophisticated, efficient and/or quicker methods to search an unordered text file for matching parameter strings? Can these methods be utilized in a simple ColdFusion and/or Java way without 3 months of study? -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214053 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

