Inefficient code - Solutions

Jerry J jhj at jhj.com
Tue Jun 30 23:55:16 EDT 2009


On Jun 30, 2009, at 7:39 PM, Jerry J wrote:

> Here's a different approach - a recursive algorithm that is very  
> compact. Its only the fastest of the examples when very few pixels  
> differ, but it hangs in there pretty well throughout. I had no idea  
> how it would do - its very heavy on handler calls and I wondered if  
> it would hit the recursion limit (which is what?).

Answering my own question in 15 seconds with the docs, the  
recursionLimit is a settable property with a default that I'm not  
worried about approaching in this situation (!).

Jerry (d'oh) Jensen




More information about the use-livecode mailing list