View Single Post
Old 05-12-2008, 08:46 PM   #30
TyCam TyCam is offline
Rookie
 

Join Date: May 2008
Casino cash: $10004900
Quote:
Originally Posted by Simplex3 View Post
Typically this is a DOM manipulation or regex issue. Those are two very expensive operations. Chapter 6 of the owl book (http://regex.info/) has really great info on how to optimize a regular expression. Just be aware that the javascript regex engine isn't very efficient, so if at all possible just use standard replace and find operations. That will take you miles in performance.

I had already pulled your .jar apart and checked out your code.

I'm not a big tabbed interface fan and try to avoid it if possible. There are couple of other usability things I'd address first. Not being able to edit an entry is kind of a pain, for instance.
For the most part, I think a lot of the issues revolve around the loops, going through the list of users and thread id's and such. I need to find a better way and regex may just be the way to go. If I can store the info in a regular expression pattern.

I've been avoiding the tabbed interface myself but find that the preferences window is getting quite large. Either I split it into separate menu items or I tab it. I haven't decided on which option I like least yet.

And yes, no edit is a pain. XUL doesn't lend itself very well to that sort of thing. But it certainly can be done. I've just been more focused on making the higher priority stuff work first before the convenient lesser priority stuff.
Posts: 28
TyCam is a favorite in the douche of the year contest.TyCam is a favorite in the douche of the year contest.
    Reply With Quote