greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2010
04:53 PM
Roku performance and bug
1. I tried using the XML parser for a large XML file, 17meg. The parser blows up, so I rolled my own.
2. Another thing I noticed is that if you have a message dialog up with automation, the display takes about 50% of the system cpu cycles. I was trying to optimize some code and noticed a big change in the times when the screen saver kicked in.
3. Maybe this is a bug ? If you do a "for each" on a object and in the for loop, you call another function that does a "for each" on the same object the initial loop is only executed once.
2. Another thing I noticed is that if you have a message dialog up with automation, the display takes about 50% of the system cpu cycles. I was trying to optimize some code and noticed a big change in the times when the screen saver kicked in.
3. Maybe this is a bug ? If you do a "for each" on a object and in the for loop, you call another function that does a "for each" on the same object the initial loop is only executed once.
1 REPLY 1
scrager
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2010
08:26 PM
Re: Roku performance and bug
for 3, i would think that is expected assuming that for each calls some sort of internal iterator. There is only one internal iterator and the nested loop exhausts it, so the outer loop is false when it gets to its second iteration.