Re: svn commit: r329609 - head/stand/lua

2018-02-19 Thread Alexander Nasonov
Ian Lepore wrote: > On Mon, 2018-02-19 at 22:29 +, Kyle Evans wrote: > > > > +???-- Swap the first two menu entries > > +???menu_entries[1], menu_entries[2] = menu_entries[2], > > +?? menu_entries[1]; > > ? > > IMO, this is the s

Re: svn commit: r329609 - head/stand/lua

2018-02-19 Thread Kyle Evans
On Mon, Feb 19, 2018 at 4:37 PM, Ian Lepore wrote: > On Mon, 2018-02-19 at 22:29 +, Kyle Evans wrote: >> >> + -- Swap the first two menu entries >> + menu_entries[1], menu_entries[2] = menu_entries[2], >> + menu_entries[1];

Re: svn commit: r329609 - head/stand/lua

2018-02-19 Thread Ian Lepore
On Mon, 2018-02-19 at 22:29 +, Kyle Evans wrote: > > +   -- Swap the first two menu entries > +   menu_entries[1], menu_entries[2] = menu_entries[2], > +   menu_entries[1]; >   IMO, this is the sort of unreadable insanity that co

svn commit: r329609 - head/stand/lua

2018-02-19 Thread Kyle Evans
Author: kevans Date: Mon Feb 19 22:29:16 2018 New Revision: 329609 URL: https://svnweb.freebsd.org/changeset/base/329609 Log: stand/lua: Cache swapped menu, and don't create locals for swapping Building the swapped welcome menu (first two items swapped) is kind of a sluggish, because it r