Search lua-l
This index contains 143,615 documents and
1,774,615 keywords. Last update on
2023-03-09 .
- 121. Re: Issues with the current varargs implementation (Was: Re: inadequate documentation for select and table.unpack) (score: 100)
- Author: Philipp Janda <siffiejoe@...>
- Date: Thu, 23 Jun 2016 13:16:35 +0200
- It is in fact slightly faster with this example to use a variadic function (perhaps because the table is local at a shallower level?), but not very much. So for n > 9, there is no reason to prefer s
- 122. Re: parsing improvement (score: 99)
- Author: Shunsuke Shimizu <grafi@...>
- Date: Tue, 02 Jun 2015 23:22:01 +0900
- Sorry, the line `n = tostring(n)` does nothing. This lines is inteneted to be `n = tonumber(n)` (and tonumber should also be cached as a local variable). This change has little performance effect. In
- 123. Re: Stack Debugging (score: 99)
- Author: Hans van der Meer <H.vanderMeer@...>
- Date: Sat, 10 Jan 2009 17:37:23 +0100
- In case anybody is interested, here is my contibution to stackdumping: Attachment: stackdump.zip Description: Zip archive Hans van der Meer static void dumpstack (lua_State *L, const char *message) {
- 124. Re: Stack Debugging (score: 99)
- Author: "Patrick O'Leary Jr" <polearyjr@...>
- Date: Sat, 10 Jan 2009 08:30:51 -0800
- static void dumpstack (lua_State *L, const char *message) { int i; int top=lua_gettop(L); printf("dumpstack -- %s\n",message); for (i=1; i<=top; i++) { printf("%d\t%s\t",i,luaL_typename(L,i)); switch
- 125. Mandatory patch for OSX (was [ANN] LuaJIT-2.0.0-beta2) (score: 98)
- Author: Mike Pall <mikelu-0911@...>
- Date: Tue, 10 Nov 2009 08:41:03 +0100
- I've attached a revised patch to fix LuaJIT-2.0.0-beta2 for OSX. The zero-cost, automatic C++ exception catching now works on OSX, too. In case anyone has applied the previous patch, it needs to be b
- 126. Re: Lua 5.4.0-rc5 segfault in low memory conditions (score: 96)
- Author: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 14 Jun 2020 13:17:05 -0300
- Many thanks to all the help finding and chasing this bug! I still have to find some time to look at that issue, but maybe the attached function may be helpful (lua_checkmemory). It traverses all memo
- 127. Re: Inheriting from C++ Classes (score: 96)
- Author: Ignacio Burgueño <ignaciob@...>
- Date: Fri, 23 Jan 2009 10:56:43 -0200
- I'd like to be able to add unique methods to individual instances in Lua, they don't need to be accessible to C++. As an example, I have a Sprite class that is used for a lot of the objects in the ga
- 128. Re: Is there any CGI library for Lua? (score: 96)
- Author: Mark Edgar <medgar@...>
- Date: Mon, 30 Oct 2006 14:52:45 -0700
- I forgot to mention, my shttpd dispatcher of course uses the SAPI CGI launcher from Kepler as well as CGILua. The entire system is actually a layering of technologies: daemontools and tcpserver (ucsp
- 129. RE: Serial I/O Support (score: 94)
- Author: "King, Mike" <MKing@...>
- Date: Tue, 5 Jan 2010 10:54:48 -0500
- I have written my own library. There is no documentation except for "clean" code. I have attached my library. include <windows.h> include <lua.h> include <lauxlib.h> include <stdlib.h> typedef int (
- 130. Re: about the new version (score: 94)
- Author: Edgar Toernig <froese@...>
- Date: Mon, 10 Apr 2000 21:51:10 +0200
- Hi, Great! I only hope, that at that moment not everything is already set in stone ;) That sounds like an invitation. Here I go *bg* "break" is something I really missed. I can understand the impleme
- 131. Re: io:lines() and \0 (score: 92)
- Author: Francisco Olarte <folarte@...>
- Date: Thu, 20 Feb 2014 22:01:41 +0100
- Hi everybody. After babbling about fscanf, my curiosity was piked, so I made a test program for it. It seems to do nearly what you would need in this case with nearly no code repetitions, no buffer p
- 132. Lua 5.1 (work5) lua interpreter crash problem (score: 90)
- Author: redpixel <redwiki.net@...>
- Date: Mon, 7 Mar 2005 14:57:37 +0900
- I build lua interpreter using MinGW 3.2-rc3. it's compiled successfully using gcc(C build), but when using g++(C++ build), I got runtime error.(after runtime error, it crash) my modification is simpl
- 133. Re: nil as lvalue (was Re: Proposal: Trailing comma in function calls) (score: 89)
- Author: Tom N Harris <telliamed@...>
- Date: Thu, 12 Jun 2014 02:03:47 -0400
- Brief summary in case you haven't been following along. I'm hacking Lua to accept 'nil' instead of a variable name in an assignment. Like the way 'undef' is used in Perl. It lets you drop values from
- 134. Re: lua-5.0 performance problems (score: 89)
- Author: Simon at the Threshold <dweller@...>
- Date: Thu, 02 Oct 2003 09:31:36 +0100
- Hi Tom, The performance/unit test tool I use which is just C/socket based will work up to 1500 TPS (400 TPS is I leave in audit logging). So the problem (as far as I can see) isn't with the OS/pthrea
- 135. Re: lua-5.0 performance problems (score: 89)
- Author: "Tom Spilman" <tom@...>
- Date: Thu, 2 Oct 2003 03:27:28 -0500
- Isn't the context switch between OS threads fairly costly? Are you sure this isn't a OS thread performance issue? Tom -- -- -- -- -- --
- 136. lua-5.0 performance problems (score: 89)
- Author: Simon at the Threshold <dweller@...>
- Date: Thu, 02 Oct 2003 09:11:13 +0100
- Lo there, I searched the internet for a small, fast embedible scripting/language to integrate in with my carrier grade web application (millions of users) to replace php (which is very slow). Not wan
- 137. Re: Storing Lua code in a C library (score: 88)
- Author: "John D. Ramsdell" <ramsdell0@...>
- Date: Sun, 27 May 2012 18:03:38 -0400
- I embed Lua source code into a C header file with this program: -- bin2c.c -- /* * Converts binary data into a C source file. The C source file * defines a string with the file name of the source of
- 138. Re: Unable to download patches from http://lua-users.org/wiki/LuaPowerPatches (score: 87)
- Author: Gabriel Bertilson <arboreous.philologist@...>
- Date: Mon, 13 May 2019 11:58:59 -0500
- If you are interested in particular ones, here are the "advanced readline" and "named library" patches for Lua 5.3.1 and Lua 5.3.4 respectively, originally downloaded from the lua-users wiki. ? Gabri
- 139. Re: Predefined labels (Inspired by discussion on: Why do we have ipairs?) (score: 86)
- Author: Axel Kittenberger <axkibe@...>
- Date: Fri, 27 Jun 2014 12:05:02 +0200
- An implicit 'continue' label if non is given is a good idea, I support this. * It does not break any existing programs, * makes coding easier * is only a minimal addition to the footprint. The only
- 140. Re: syntax heresy (score: 83)
- Author: Alain <alainm@...>
- Date: Mon, 08 Aug 2005 18:43:42 -0300
- You certainly acheived one thing: It has been a long time since I look a factorial function and cannot in any way understand it ;-) Alain Boyko Bantchev escreveu: Hello all, I have written a simple p
Search by
Namazu v2.0.21