Yes, Charlie, the thread model was introduced on jBASE 4. On Sun, Apr 5, 2015 at 8:43 PM, Charlie Noah <[email protected]> wrote:
> Does this apply to 4.x, too? I know, I know, don't flame me, but I have > a 32bit machine. > > Thanks, > Charlie > > > On 04-05-2015 7:10 PM, Daniel Klein wrote: > > Well, then it's a good thing jBASE isn't in the same sub-class as those > inferior 'MV implementations'. > > Open a jShell and run these 2 programs back-to-back (it doesn't matter > what order they are run): > > 0001 PROGRAM exec_slow > 0002 FOR X=1 TO 1000 > 0003 EXECUTE @IM:'kLIST MD SAMPLE 10' CAPTURING quiet > 0004 NEXT X > > 0001 PROGRAM exec_fast > 0002 FOR X=1 TO 1000 > 0003 EXECUTE 'LIST MD SAMPLE 10' CAPTURING quiet > 0004 NEXT X > > The 'exec_slow' program forces the '.exe' to run each time (i.e. runs > 1000 processes). The 'exec_fast' program is running the '.dll' (or '.so') > in shared memory (i.e. runs 1 process). > > Here are the results on my Win7 system: > > jsh ~ -->time exectest_slow > usr: 36.79 sys: 0.00 elapsed: 0m36.78s > jsh ~ --> > > jsh ~ -->time exectest > usr: 1.55 sys: 0.00 elapsed: 0m1.54s > jsh ~ --> > > This illustrates the enormous performance gains of the thread model, > introduced in jBASE 4. > > So, like it or not, this is how it works. > > Daniel Klein > > On Sun, Apr 5, 2015 at 5:54 PM, Kevin Powick <[email protected]> wrote: > >> >> On Sunday, 5 April 2015 16:02:13 UTC-4, Daniel Klein wrote: >> >> >>> This is nothing new to jBASE as it has been this way for subroutines >>> all along; on jBASE 5 (actually this all started on jBASE 4) it's just been >>> extended to executables. >>> >> >> Extended to executables, really? That sucks for sure. On most MV >> implementations, you merely have to exit and re-enter the program to >> execute the most recently compiled version. >> >> Is there some type of environment variable in v5 that makes this an >> option? >> >> -- >> Kevin Powick >> >> -- >> -- >> IMPORTANT: T24/Globus posts are no longer accepted on this forum. >> >> To post, send email to [email protected] >> To unsubscribe, send email to [email protected] >> For more options, visit this group at >> http://groups.google.com/group/jBASE?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "jBASE" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
