~/talk

Run Numba functions in SQLite: WTF?

Talkat PyData NYC 2018 · 2018-10-11..10-12· [databases]
links:none on file
slides:none on file

An experimental library called slumba embeds Numba-generated C-callable functions into SQLite UDFs, aggregates and window functions by emitting LLVM/JIT code and wiring it to the SQLite C API. Claims: whole-table aggregations run ~5x faster, low-cardinality GROUP BYs ~2x, high-cardinality ~1.5x, scalar UDFs show little gain. Limitations: no heap/object work, null/type fiddling, risky unsafe casts. Demo registers aggregates and runs correctly; project remains hacky and experimental.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Extending SQLite with Python UDFs
  3. 6:07User-defined aggregates in C
  4. 10:30What is Numba
  5. 13:21Goal: Numba JIT in SQLite
  6. 17:21Type inference for Numba in SQLite
  7. 20:39Performance benchmarks
  8. 23:15Demo: Numba aggregates in SQLite
  9. 24:21Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.