Convert pltcl from strings to objects

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Convert pltcl from strings to objects
Дата
Msg-id 56BA66D9.3030506@BlueTreble.com
обсуждение исходный текст
Ответы Re: Convert pltcl from strings to objects  (Victor Wagner <vitus@wagner.pp.ru>)
Список pgsql-hackers
Currently, pl/tcl is implemented through nothing but string
manipulation. In other words, the C code is effectively creating a giant
string that the tcl interpreter must re-parse every time the function is
executed. Additionally, all arguments are treated as raw strings,
instead of the far more efficient internal tcl object types.

The biggest win comes with how pltcl interfaces with SPI result sets.
Currently, the entire chunk of tcl code that is executed for each result
row must be reparsed and recompiled from scratch. Now, the code is
compiled once and the bytecode is stored.

This work is sponsored by Flight Aware (http://flightaware.com/).
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Corey Huinker
Дата:
Сообщение: Re: proposal: schema PL session variables
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: proposal: schema PL session variables