lua-users home
lua-l archive

Search lua-l

This index contains 143,604 documents and 1,774,497 keywords. Last update on 2023-03-08 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ lua (Too many documents hit. Ignored) ] [ array: 5396 ] [ indexing: 1373 ]

Total 296 documents matching your query.

151. Re: [NoW] Luac crashes when trying to display undefined instruction (score: 22)
Author: Luiz Henrique de Figueiredo <lhf@...>
Date: Fri, 25 Jan 2019 08:44:56 -0200
We could fix this opname issue as suggested, but there are probably other issues like that, eg indexing the constant array or the locvars array. Keep in mind that luac, like the rest of Lua, assumes
152. Re: const char* typedefs (score: 22)
Author: Paige DePol <lual@...>
Date: Wed, 7 Feb 2018 21:13:22 -0600
LOL. Right, which is what I was saying about the array vs pointer stuff! :) The StackOverflow article pretty much stated the same thing. I guess I just never really thought of the array indexing symb
153. Re: [Feature Request?] __key (score: 22)
Author: "Soni L." <fakedme@...>
Date: Sun, 17 Jul 2016 08:55:43 -0300
? If two distinct userdata?s return the same type+value for __key Lua will think they are the same value and bad things will happen if they are put in the same table, possibly crashing Lua. Not good.
154. Re: Feature request: userdata slice (score: 22)
Author: William Ahern <william@...>
Date: Wed, 19 Aug 2015 11:35:13 -0700
What if I have a data structure like: struct foo { struct { int a; int b; } list[]; }; where list could be a billion items long? That's not at all uncommon in data mining. Even multi-gigabyte XML and
155. Re: Feature request: userdata slice (score: 22)
Author: ?? Cloud Wu <cloudwu@...>
Date: Wed, 19 Aug 2015 14:48:37 +0000
Even absent the garbage objects, all those indexing operations aren't helping performance, and this solution doesn't remedy that at all. Using (abusing?) Lua as a convenient interface to poke and pro
156. ipairs in Lua 5.3.0-alpha (score: 22)
Author: Jan Behrens <jbe-lua-l@...>
Date: Wed, 13 Aug 2014 22:33:23 +0200
Hello, I have recently been writing a JSON parser[1] to be used by our Lua web framework[2]. Since JSON arrays may contain null values, and since one of the library's goals is to represent JSON null
157. Re: Extending Lua for multiple light userdata types (score: 22)
Author: Javier Guerra Giraldez <javier@...>
Date: Wed, 14 Nov 2012 09:04:46 -0500
not sure i follow you. currently next({[1.0]=true}) returns 1.0, but the key is internally just '1' (well, it's not a key, but an index on the array part), it's converted to integer when entering arr
158. what to make of this fellow named __ipairs? (score: 22)
Author: David Manura <dm.lua@...>
Date: Thu, 27 Jan 2011 01:42:32 -0500
What are we to make of this fellow named __ipairs in 5.2.0-alpha? The Reference Manual specifies the mechanics of `__ipairs` [1] but not its intended purpose. This leads to many questions.... How sho
159. A Question of Notation (score: 22)
Author: steve donovan <steve.j.donovan@...>
Date: Sun, 19 Dec 2010 10:20:06 +0200
Hi all, I'm revising Penlight for a new release soon, and started experimenting with extending the List class. By making __index a function, it's easy enough to support negative indices, so that ls[-
160. Re: lists with nil play nice for Lua 5.2 (score: 22)
Author: Paul Ducklin <duck@...>
Date: Thu, 9 Aug 2007 22:56:22 +1000
Errrr, which people exactly? In C it is natural to have 0-based arrays because of the meaning of an array index (low-level memory displacement from address at which first element is stored, such tha

Search by Namazu v2.0.21