Re: [textadept] Re: find dialog fills in word under cursor

From: steve donovan <>
Date: Tue, 13 Dec 2011 08:08:24 +0200

On Tue, Dec 13, 2011 at 2:19 AM, mitchell <> wrote:
> That is true, but since nobody can hit Control+F 10,000 times per second,
> the difference in speed is negligible :)

Excellent answer! ;)

And that's why writing big GUI programs in C is premature
optimization. Actually, #s isn't too slow, since Lua strings keep
their size internally (they have to because they can contain embedded
'\0'; they're basically immutable byte buffers.) It could be faster
than strlen(s) for big enough strings.

steve d.
Received on Tue 13 Dec 2011 - 01:08:24 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:25:43 EST