Re: [HACKERS] WIP: Faster Expression Processing v4
От
Andres Freund
Тема
Re: [HACKERS] WIP: Faster Expression Processing v4
Дата
Msg-id
20170314173410.fbpjy2uksbpyl4ou@alap3.anarazel.de
Ответ на
Re: [HACKERS] WIP: Faster Expression Processing v4 (Alvaro Herrera)
Список
Дерево обсуждения
WIP: Faster Expression Processing and Tuple Deforming (including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Andres Freund <andres@anarazel.de>
[HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Heikki Linnakangas <hlinnaka@iki.fi>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Heikki Linnakangas <hlinnaka@iki.fi>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Douglas Doole <dougdoole@gmail.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Douglas Doole <dougdoole@gmail.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Ants Aasma <ants.aasma@eesti.ee>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] WIP: Faster Expression Processing v4 Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing v4 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] WIP: Faster Expression Processing v4 Robert Haas <robertmhaas@gmail.com>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Bruce Momjian <bruce@momjian.us>
Re: WIP: Faster Expression Processing and Tuple Deforming (including JIT) Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Nico Williams <nico@cryptonector.com>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Robert Haas <robertmhaas@gmail.com>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Craig Ringer <craig@2ndquadrant.com>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Craig Ringer <craig@2ndquadrant.com>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Nico Williams <nico@cryptonector.com>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Nico Williams <nico@cryptonector.com>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Markus Nullmeier <dq124@uni-heidelberg.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Andres Freund <andres@anarazel.de>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Robert Haas <robertmhaas@gmail.com>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Dilip Kumar <dilipbalaut@gmail.com>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Peter Geoghegan <pg@heroku.com>
Re: WIP: Faster Expression Processing and Tuple Deforming
(including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) CK Tan <cktan@vitessedata.com>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) Andres Freund <andres@anarazel.de>
Re: [HACKERS] WIP: Faster Expression Processing and Tuple Deforming(including JIT) CK Tan <cktan@vitessedata.com>
On 2017-03-14 08:28:02 -0300, Alvaro Herrera wrote:
> Andres Freund wrote:
>
> > EEO_SWITCH(op->opcode)
> > {
> > EEO_CASE(EEO_DONE):
> > goto out;
>
> Oh my.
>
> > which is a bit annoying. (the EEO_CASE is either a jump label or a case
> > statement, depending on computed goto availability).
> >
> > It seems we could either:
> > 1) live with the damage
> > 2) disable pgindent
> > 3) move the : inside EEO_CASE's definition, and only use {} blocks.
>
> I think 3) is nasty because the result doesn't look like normal C.
We have a bunch of such constructs already however. foreach(),
PG_TRY(). That means 3) has the advantage that our editors and pgindent
can already deal with it.
> EEO_CASE() are potentially jump labels, then indentation becomes
> correct. Why not accept it? It looks odd, but that gives a better hint
> to the reader about what's going on.
Seems likely that every editor would indent them differently :(
I'm leaning towards 3) for the reasons above and after trying out the
different indentations, but I don't have a strong opinion.
Greetings,
Andres Freund
В списке pgsql-hackers по дате отправления