Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
greubel
Visitor

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.
0 Kudos
1 REPLY 1
scrager
Visitor

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.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.