Re: Reverse a list

2015-02-10 Thread Ali Lloyd
great news. Does LC 7 now do character references in constant (albeit a bit slower) time? Or linear? Or... On Tue, Feb 10, 2015 at 4:50 AM, Ali Lloyd a...@runrev.com wrote: Apologies - hit send too early. 6.7.1 There are 2931 lines in tstart There are now 14655 lines

Re: Reverse a list

2015-02-10 Thread Ali Lloyd
Apologies - hit send too early. 6.7.1 There are 2931 lines in tstart There are now 14655 lines in tstart revers(ta) took 427 ms qrevers(ta) took 6 ms Output OK krevers(ta) took 412 ms Output OK 7.0.2 + bugfix There are 2931 lines in tstart There are now 14655 lines in tstart

Re: Reverse a list

2015-02-10 Thread Ali Lloyd
It's not quite as fast as LC6, but I'm seeing a vast improvement here: On 10 February 2015 at 04:10, Kay C Lan lan.kc.macm...@gmail.com wrote: On Tue, Feb 10, 2015 at 11:58 AM, Geoff Canyon gcan...@gmail.com wrote: It seems that what we've lost with unicode/7 is the speed of character

Re: Reverse a list

2015-02-09 Thread Ali Lloyd
Hi all. Thanks very much for this thread, it has uncovered a quite inefficient code path in chunk resolution that we will be able to sort out. Indeed, I believe that http://quality.runrev.com/show_bug.cgi?id=14504 was already potentially causing a problem for the 'char' chunk. In theory the

Re: Two features I don't understand

2014-10-31 Thread Ali Lloyd
Regarding id caching, I had an idea that one might be able to use it to emulate the performance gain of a 'repeat for each...' style structure on controls. Referencing a control by number or name will iterate through the controls of the card until it gets to the specified one. Thus a loop of the

RELEASE 6.7.1-rc-1

2014-10-31 Thread Ali Lloyd
Dear list members, We're pleased to announce release of LiveCode 6.7.1-rc-1. *Warning:* this is not a stable release. Please ensure you back up your stacks before testing them. *Release Contents* This release contains 9 bugfixes: 13848 Menu items from popup menu improperly removed 13847

RELEASE 7.0.1-rc-1

2014-10-31 Thread Ali Lloyd
Dear list members, We're pleased to announce release of LiveCode 7.0.1-rc-1. *Warning:* this is not a stable release. Please ensure you back up your stacks before testing them. *Release Contents* This release contains 38 bugfixes: 13850 ask file and ask folder default to wrong folder 13848

Re: Snapping To A Grid of TopLefts?

2014-10-19 Thread Ali Lloyd
Hi John, I use this handler to snap to a grid, there may well be clearer / more efficient implementations though. constant kHDist = 100 // horizontal distance between points constant kVDist = 75 // vertical distance between points on locToSnap @xLeft, @xTop local tTopOver, tLeftOver put

<    1   2   3   4