Re: [LyX/master] Make cell index of tabular local for column loop.

2020-02-13 Thread Scott Kostyshak
On Wed, Feb 12, 2020 at 05:05:25PM +0100, Pavel Sanda wrote: > On Wed, Feb 12, 2020 at 08:50:13AM -0500, Scott Kostyshak wrote: > > Is it true that without optimization, this change would be less > > efficient because cell has to be recreated (so memory allocated) on each > > iteration of the for l

Re: [LyX/master] Make cell index of tabular local for column loop.

2020-02-13 Thread Scott Kostyshak
On Wed, Feb 12, 2020 at 04:30:23PM +0100, Stephan Witt wrote: > Am 12.02.2020 um 14:50 schrieb Scott Kostyshak : > > > > On Wed, Feb 12, 2020 at 12:14:07PM +0100, Stephan Witt wrote: > >> commit e900b61d46f02b2af9afcc697168e47e846b982d > >> Author: Stephan Witt > >> Date: Wed Feb 12 12:32:31 20

Re: [LyX/master] Make cell index of tabular local for column loop.

2020-02-12 Thread Pavel Sanda
On Wed, Feb 12, 2020 at 08:50:13AM -0500, Scott Kostyshak wrote: > Is it true that without optimization, this change would be less > efficient because cell has to be recreated (so memory allocated) on each > iteration of the for loop? But is the idea that compilers recognize this > and only allocat

Re: [LyX/master] Make cell index of tabular local for column loop.

2020-02-12 Thread Stephan Witt
Am 12.02.2020 um 14:50 schrieb Scott Kostyshak : > > On Wed, Feb 12, 2020 at 12:14:07PM +0100, Stephan Witt wrote: >> commit e900b61d46f02b2af9afcc697168e47e846b982d >> Author: Stephan Witt >> Date: Wed Feb 12 12:32:31 2020 +0100 >> >>Make cell index of tabular local for column loop. >> --

Re: [LyX/master] Make cell index of tabular local for column loop.

2020-02-12 Thread Scott Kostyshak
On Wed, Feb 12, 2020 at 12:14:07PM +0100, Stephan Witt wrote: > commit e900b61d46f02b2af9afcc697168e47e846b982d > Author: Stephan Witt > Date: Wed Feb 12 12:32:31 2020 +0100 > > Make cell index of tabular local for column loop. > --- > src/insets/InsetTabular.cpp |4 +--- > 1 files cha