summaryrefslogtreecommitdiff
path: root/main/taskprocessor.c
diff options
context:
space:
mode:
authorSean Bright <sean.bright@gmail.com>2017-12-07 15:19:40 -0500
committerSean Bright <sean.bright@gmail.com>2017-12-10 12:41:51 -0600
commita4b291029fc79b143a94bfbda20a32ef52321539 (patch)
treefca7fc43bac1885c6d7006a323da960a15d22e72 /main/taskprocessor.c
parent54a86779a3d1cc2a1c859d76180f155865713bb5 (diff)
astdb: Improve prefix searches in astdb
Using the LIKE operator requires a full table scan of 'astdb', whereas a comparison operation is able to use the primary key index. This patch adds a new function to the AstDB API for quick prefix matches and updates res_sorcery_astdb to utilize it. This showed substantial performance improvement in my test environment. Related to ASTERISK~26806, but does not completely resolve it. Change-Id: I7d37f9ba2aea139dabf2ca72d31fbe34bd9b2fa1
Diffstat (limited to 'main/taskprocessor.c')
0 files changed, 0 insertions, 0 deletions