lua-users home
lua-l archive

Search lua-l

This index contains 143,615 documents and 1,774,615 keywords. Last update on 2023-03-09 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ fixed: 3894 ] [ point: 15188 ]

Total 640 documents matching your query.

121. Re: Feature request : More lightuserdata types (score: 18)
Author: Flyer31 Test <flyer31@...>
Date: Tue, 22 Feb 2022 14:59:11 +0100
So lightuserdata would just be a 64bit value (and in Lua32 then a 32bit value). And you anyway can use metafunctions with lightuserdata? ... this is a bit a surprise to me ... but sounds interesting
122. Re: Feature request : More lightuserdata types (score: 18)
Author: ?? Cloud Wu <cloudwu@...>
Date: Tue, 22 Feb 2022 21:50:37 +0800
You probably want a full userdata to avoid UB. LU aren't collected, so you can't know if it's still alive or not/when to free it/etc. "Optimizations" like these are a security nightmare. Many object
123. Re: How to comprehend that Lua automatically removes whatever is in the stack below the results after the function returned? (score: 18)
Author: ??? sunshilong <sunshilong369@...>
Date: Sat, 26 Sep 2020 13:26:05 +0800
If I understand correctly, all the objects should have a pre-known max size to meet the soft real-time requirements. I use Lua scripts to control the robot arm to grab cookies, plates, fruits and et
124. Re: Garbage collection durint pcall. (score: 18)
Author: Francisco Olarte <folarte@...>
Date: Sun, 2 Jun 2019 12:41:49 +0200
Sean: That I did. I did that, but my ( as I've said it, erroneous asumption ) was this is just what happened. I thought object was available for GC "once that function returns". The thing being, once
125. Re: Ravi bug related to setting of L->top in OP_RETURN (score: 18)
Author: Dibyendu Majumdar <mobile@...>
Date: Sat, 15 Aug 2015 14:11:11 +0100
I wasn't able to understand your description above - I think you mean following: When C function calls luaV_execute() - luaV_execute() upon returning always has L->top pointing to the top of the resu
126. Re: pairs(t, skey) and ipairs(t, skey) (score: 18)
Author: Philipp Janda <siffiejoe@...>
Date: Mon, 07 Oct 2013 01:41:47 +0200
Am 07.10.2013 00:59 schröbte Tim Hill: 2013/10/6 Tim Hill <drtimhill@gmail.com>: I think there is some confusion of scope here. The implementation of the # function is (not surprisingly) O(1) but the
127. Re: [ANN] LuaDist batteries-0.9.1 available (score: 18)
Author: Peter Draho? <drahosp@...>
Date: Sun, 7 Oct 2012 13:25:30 +0200
Thanks, I'll add it once the libpq issue is fixed. pd
128. Re: [ANN] ZeroBrane Studio 0.32; now with unicode support, moai integration, and wxlua 2.8.12 upgrade (score: 18)
Author: Paul K <paulclinger@...>
Date: Thu, 6 Sep 2012 17:21:50 -0700
Hi Geoff, Glad you liked it. This will probably go into "won't fix" category. I think between supporting hierarchical data in the Stack view, the pretty printing in console (with one- and multi-line
129. Re: What do you miss most in Lua (score: 18)
Author: Tim Hill <drtimhill@...>
Date: Mon, 6 Feb 2012 22:23:41 -0800
I think the middle ground here is to distinguish between Lua strings as byte arrays and UTF-8 as sequences of code points. Doing full-blown Unicode support is horrendous, but providing library functi
130. Re: [ANN] lua-Coat 0.2.0 : Yet Another Lua Object-Oriented Model (score: 18)
Author: François Perrad <francois.perrad@...>
Date: Tue, 18 Aug 2009 22:40:30 +0200
2009/8/16 François Perrad <francois.perrad@gadz.org>: Now, lua-Coat is fully refactored with this syntax. But not yet released, see HEAD on http://github.com/fperrad/lua-Coat/ New comment wellcomed t
131. Re: [ANN] lua-Coat 0.2.0 : Yet Another Lua Object-Oriented Model (score: 18)
Author: François Perrad <francois.perrad@...>
Date: Sun, 16 Aug 2009 15:30:20 +0200
2009/8/15 David Manura <dm.lua@math2.org>: Yes, it's a port. I agree. The syntax needs improvement. I wrote small patches (see patch/) which allows a more perlish syntax. I will send a specific messa
132. [ANN] vstruct 1.0 Beta 3 (score: 18)
Author: Ben Kelly <ranavin@...>
Date: Wed, 25 Feb 2009 12:32:47 -0500
Announcing the release of vstruct 1.0b3. It's actually been out for a while, but I haven't gotten around to posting on the ML to that effect. Release notice follows (and is mirrored on www.funkyhorro
133. Re: [ANN] VStruct, the versatile struct library - 1.0 beta 1 (score: 18)
Author: "Peter Cawley" <lua@...>
Date: Mon, 26 May 2008 23:35:47 +0100
My first bash at a floating point module for this: http://www.corsix.org/misc/fp.lua Place in the same folder as read.lua / write.lua and add: local fp = require (name..".fp") to the start of those t
134. RE: Possible improvements to the LNUM patch? (score: 18)
Author: "Jerome Vuarand" <jerome.vuarand@...>
Date: Mon, 14 Apr 2008 15:17:27 -0400
Only marginally I think. I/O as a text could be faster. Actually using a normal integer type is probably a better solution, I don't know why I recommended BCD.
135. Re: Possible improvements to the LNUM patch? (score: 18)
Author: "Javier Guerra" <javier@...>
Date: Mon, 14 Apr 2008 14:10:11 -0500
OT: is there any advantage on using BCD instead of just storing the number of cents as an integer? -- Javier
136. Re: Ideas about implementing a string type? (score: 18)
Author: Rici Lake <lua@...>
Date: Thu, 29 Mar 2007 12:35:38 -0500
David Kastrup wrote: Such strings would not get hashed unless one used them as a table index, and they would not get unified or copied either unless necessary. The problematic words are "unless nece
137. Re: Constant folding (score: 18)
Author: Kein-Hong Man <mkh@...>
Date: Wed, 15 Mar 2006 12:51:03 +0800
Mike Pall wrote: Kein-Hong Man wrote: It is not heavy-duty constant folding, though. According to my observations, the terms of an expression are not reordered, so the following is not optimized: loc
138. Integer patch for Lua 5.1 final (score: 18)
Author: "Daniel Collins" <daniel.collins@...>
Date: Mon, 27 Feb 2006 09:43:27 +1030
I saw recently that there is an integer patch for Lua 5.1 rc4. Does this integer patch work for 5.1 final? Or if not, is a version for 5.1 final in the works? I was considering doing my own fixed poi
139. Re: PATCH: true C coroutines -- yield across C stack from anywhere (score: 18)
Author: Mike Pall <mikelu-0410@...>
Date: Fri, 22 Oct 2004 18:09:34 +0200
Hi, Well, it does come with a price. It is however unnoticeable unless you create thousands of coroutines. But for this category of problems (google for 'c10k') you get into trouble when allocating a
140. Re: Lua 5.1+ and variable-argument tables (score: 18)
Author: Rici Lake <lua@...>
Date: Thu, 19 Aug 2004 22:11:34 -0500
IMHO that's the most important point. If you accept heap allocation during vararg-function invocation you can stick with tables. The slight performance advantage of your tuple implementation could b

Search by Namazu v2.0.21