Original Post
I'm trying to make a simple webcrawler that gets links and images off of websites. I maintain a list of links to visit, and in my run() method I take one of the links, and send it to a processing thread I have and call start on the thread:
run() {
while(true) {
Thread t = new Thread ( new Processor(url) );
t.start();
}
}
However, the program runs really slowly, and I was wondering if there was somethign I could do t ospeed up the threads.