Re: Speeding up the Postgres lexer
От | Simon Riggs |
---|---|
Тема | Re: Speeding up the Postgres lexer |
Дата | |
Msg-id | 1116916843.3844.472.camel@localhost.localdomain обсуждение исходный текст |
Ответ на | Re: Speeding up the Postgres lexer (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Speeding up the Postgres lexer
|
Список | pgsql-hackers |
On Mon, 2005-05-23 at 22:43 -0400, Tom Lane wrote: > Based on the comments so far in this thread, I'll go ahead and commit > the patch, with some comments attached of course --- in particular a big > head comment to run flex with -b and see that lex.backup says something > to this effect. flex counts the number of times it needs to back up in a variable called num_backing_up. It tests this to see whether to generate code differently. ISTM you could have a -x switch to make it generate an error if num_backing_up > 0. Would we use the -x switch if we had it? If so I'll submit a patch here first, then on to GNU. It'll take a while before it comes back round to us though. Best Regards, Simon Riggs
В списке pgsql-hackers по дате отправления: