Debug output is terribly slow
-
- Addict
- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: Debug output is terribly slow
It's meant for displaying debug messages; not the output of copious amounts of data.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: Debug output is terribly slow
Machinecode: There's no need to keep repeating that. Just because it's not meant to be fast doesn't preclude the possibility of a problem.
Be aware there are a lot of valid uses for 'displaying debug messages' that aren't pure data dumps, but a way of monitoring the activity of the program in realtime as you're working with it that still produce a large amount of text. In a lot of those cases, log files are a less correct means of accomplishing the goal.
If there's a potential flaw in the implementation, there's nothing wrong with trying to analyze it to determine its behavior and suggest changes if it turns out it's doing something aberrant.
Be aware there are a lot of valid uses for 'displaying debug messages' that aren't pure data dumps, but a way of monitoring the activity of the program in realtime as you're working with it that still produce a large amount of text. In a lot of those cases, log files are a less correct means of accomplishing the goal.
If there's a potential flaw in the implementation, there's nothing wrong with trying to analyze it to determine its behavior and suggest changes if it turns out it's doing something aberrant.
Re: Debug output is terribly slow
In fact, by setting the all rows equal height the speed of PB listviews can be improved somewhat (I tested it in a small PB program). This is something that can be done in the gadget library, as every line in a PB listview is supposed to be of equal height anyways.