|
|
|

I think I know what is happening with the slowing issue. I took your advice and ran the profiler. The main calculations loop of my program has quite a number of print statement so that I can easily debug as working. When you issue the nomainwin directive in standard LB, these are ignored by the runtime engine and the program speeds up dramatically as if they are not there and only slows down again when you allow a mainwin for debugging. According to the profiler, LBB is not ignoring these and still executing them in the absence of a main window and taking up valuable processor time. I can remove them or rem them to solve this but it might be worth making LBB ignore these if a nomainwin directive is issued if it's possible to do and if you plan any updates. I often program like this as I find debuggers very cumbersome and I often only need to know the value of 1 or 2 specific variables at one specific point to work out what is going wrong. So it's very easy to print it to a main window and then remove these lines before compilation or tokenisation. Perhaps it's a bad habit of mine but as I learnt to program prior to anything resembling a debugger became standard, it's force of habit that isn't going to change at this point...
|
|