Avatar for the egraphs-good user
egraphs-good
egglog-python
Instrumentation
Wall Time
BlogDocsChangelog

Simplify how anonymous functions are parsed

#314Merged
Comparing
reimplemention-tmp-fn
(
00d1b65
) with
main
(
3b41794
)
CodSpeed Performance Gauge
+76%
Improvements
2
Regressions
0
Untouched
5
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

test_jit[lda]
python/tests/test_array_api.py::test_jit[lda]
CodSpeed Performance Gauge
+76%
16.6 s
9.4 s
test_jit[tuple]
python/tests/test_array_api.py::test_jit[tuple]
CodSpeed Performance Gauge
+35%
998 ms
737 ms

Passed

test_jit[add]
python/tests/test_array_api.py::test_jit[add]
CodSpeed Performance Gauge
+10%
460.3 ms
418.9 ms
test_run_lda[array_api-optimized-numba]
python/tests/test_array_api.py::test_run_lda[array_api-optimized-numba]
CodSpeed Performance Gauge
+2%
112.3 µs
109.7 µs
test_run_lda[base]
python/tests/test_array_api.py::test_run_lda[base]
CodSpeed Performance Gauge
0%
2.2 ms
2.2 ms
test_run_lda[array_api-optimized]
python/tests/test_array_api.py::test_run_lda[array_api-optimized]
CodSpeed Performance Gauge
0%
857 µs
857.8 µs
test_run_lda[array_api]
python/tests/test_array_api.py::test_run_lda[array_api]
CodSpeed Performance Gauge
-1%
4.8 ms
4.8 ms

Commits

Click on a commit to change the comparison range
Base
main
3b41794
+76%
Simplify how anonymous functions are parsed Updates the way that we handle passing higher order functions into egglog to remove some previous metaprogramming magic and replace it with a simpler algorithm that just removes any unbound variables left in a function and hoists them as args to the function.
00d1b65
15 days ago
by saulshanabrook
© 2025 CodSpeed Technology
Home Terms Privacy Docs