Subject | Re: [Firebird-Architect] Re: embedding Lua as procedural language |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2008-12-24T17:33:34Z |
Dmitry Yemanov wrote:
It runs for each line, if in a loop.
It may not appear very cost because the cost of each SQL statement is
generally much larger, but can be optimized (putting the line number
directly in each node when compiling, for example).
Adriano
> Our execution tree doesn't have any useless grammatical nodes, they'reThere is an exception. It's not useless, but is not essential: nod_src.
> eliminated during the SQL->BLR compilation. The only node that doesn't
> perform any useful work itself is nod_list which acts as a container for
> other nodes.
It runs for each line, if in a loop.
It may not appear very cost because the cost of each SQL statement is
generally much larger, but can be optimized (putting the line number
directly in each node when compiling, for example).
Adriano