09-02-2024, 01:59 PM
AB,
LDInline doesn't especially speed anything. What makes SB slow is mainly the Primitive type, especially with arrays. To really speed up you would need to write in C# or similar. However, careful use of LDList and other optimisations depending on the code (e.g. there may be things that can be done with large number of moving shapes).
The first thing to do is to simplify the code trying to identify cause of bottleneck (which bits are slow - array manipulations, graphics update, file operations, expensive extension commands ...). If you then get a small sample program that is running slow I can have a look.
LDInline doesn't especially speed anything. What makes SB slow is mainly the Primitive type, especially with arrays. To really speed up you would need to write in C# or similar. However, careful use of LDList and other optimisations depending on the code (e.g. there may be things that can be done with large number of moving shapes).
The first thing to do is to simplify the code trying to identify cause of bottleneck (which bits are slow - array manipulations, graphics update, file operations, expensive extension commands ...). If you then get a small sample program that is running slow I can have a look.