[somewhat OT] Text processing question (sort of)

Richard Gaskin ambassador at fourthworld.com
Sun May 18 17:37:58 EDT 2008


yoy wrote:
> Well, that doesn't play well in revolution when it comes to the powerball
> and other lottery  checking software  with millions of ticket cross
> checking. A good lottery software (not the generator portion) only take
> about an hour in PERL.
> 
> I've written several state software lottery checking systems and you.
> Introduce a GUI and it slugs down.

I'm not sure it's a matter of having a GUI or not.  After all, any 
program will need to display its results if it's to be useful.  I would 
think it has more to do with how that GUI is used.

Computationally-intensive operations can, and arguably should, be 
performed purely in memory, with no updates to the GUI until it comes 
time to display the result.  In this manner, Rev and Perl have much in 
common.

Since Perl is an interpreted language and uses Regex for much of its 
pattern-matching abilities, I'd be interested to see how the same 
algorithm also implemented in Transcript compares.

My hunch is that if the program you mentioned were crafted with the same 
inputs and outputs in a well-optimized manner in both Perl and 
Transcript, that the Transcript version would perform at least as well.

Anyone have time on their hands to give this a try?

-- 
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com




More information about the use-livecode mailing list