Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

function cache#26

Open
eugwne wants to merge 1 commit intopllua:masterfrom
eugwne:fcache
Open

function cache#26
eugwne wants to merge 1 commit intopllua:masterfrom
eugwne:fcache

Conversation

@eugwne
Copy link
Copy Markdown
Member

@eugwne eugwne commented Mar 20, 2016

Changed cache fucntion info storage from string key->LUA_REGISTRYINDEX value to postgres hash table,
this should speed look up time for cases like "select function() from ...many rows" and reduce time for creating/reindexing functional indexes

Unfortunately it is not possible to make pointer to a lua function...

Some function behaviour (load/reload) might be changed, and I couldn't find any docs how function caching should work inside sql servers.

Please let me know if this patch breaks anything.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant