Okay, I think I'm brain damaged -- nope, I figured it out

Roger Eller roger.e.eller at sealedair.com
Sat Sep 14 10:31:48 EDT 2013


On Sep 14, 2013 3:03 AM, "Mark Wieder" wrote:
>
> I think with proper engine optimization, "before" should be the
> fastest option... all that's necessary......

WARNING: NAIVE OUTLOOK FOLLOWS.

I am fascinated by the benchmarking scripts you have devised, but if the
destinations are the same, why in the world would someone purposefully
choose the moped to get there, especially when the jet plane is available?
I realize that the jet has many more switches, and can be more complicated
to operate, but that's where engine optimization is most important.
LiveCode is "interpreted", right? If the syntax is kept simple, an
optimized engine already knows the fastest way to get there, so why does
the engine not choose the best route (think GPS)? Now, the engine needs to
evaluate a few iterations of the source data to understand and choose
appropriately. The traffic conditions are also important, such as other
scripts which may be doing some background processing. CPU/RAM availability
- what the OS is doing outside of LiveCode may have an affect on the best
route.

I said this is a naive view, but my vision of LiveCode is that it can be
more efficient by being smarter at the core. Many developers prefer
absolute control, i.e. regular expressions, arrays, etc. but others want a
human syntax to complex operations, and let the engine convert it, if
necessary, to an optimal form for processing. I am one of the others, btw.
:)

~Roger



More information about the use-livecode mailing list