Subj : SlyVote To : Digital Man From : Nightfox Date : Tue May 19 2020 14:07:44 Re: SlyVote By: Digital Man to Nightfox on Tue Aug 08 2017 11:56 am DM> I'll play with tuning that in a couple of days. The first thing I notice DM> is the reference to msgbase.total_msgs in your loop. It would be an DM> improvement in speed to cache this property in a local variable as every DM> time you read that property, the underlying code in the MsgBase class goes DM> and reads the status of the message base: DM> var total_msgs = msgbase.total_msgs; DM> for (var i = 0; !subBoardHasPolls && (i < total_msgs); ++i) DM> I tried this enhancement on Vert and it made only a slight improvement in DM> performance, so that's not the main issue. It could be a problem in the DM> get_msg_index method. I'll look into it. Hi DM - I know this is an old message I'm replying to - we were discussing speed-related issues when I was initially working on SlyVote. I was curious if you had ever found anything that might help the speed issues we had noticed? Not too long ago, I had made an update to dd_lightbar_menu.js so that rather than having to add/copy all the menu items into the menu object, you can replace a couple functions (for the menu to get the number of items and to retreive an item for display & it return code), so a menu can basically access another source of items. I originally did that for my message reader, but I then updated SlyVote to do that, as I think that might provide a bit of a speed improvement. Nightfox --- þ Synchronet þ Digital Distortion: digitaldistortionbbs.com * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .