Re: Accessing String contents
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Accessing String contents
- From: TNHarris <telliamed@...>
- Date: 2012年6月21日 16:44:23 -0400
On Thursday, June 21, 2012 03:01:45 PM Geoff Leyland wrote:
> What makes you say that? Generated code seems the same with and without
> "local sub = string.sub". As I understand it, you shouldn't alias the ffi
> object, but I didn't think that applied to other tables.
"Sub-optimal" may be overstating it. At the least, you're unnecesarily wasting
a local variable slot for something that the compiler already knows how to do
without being told.
-----
-- tom
telliamed@whoopdedo.org