egraphs-good
egglog-python
BlogDocsChangelog

Simplify how anonymous functions are parsed

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

Benchmarks

Improved

test_jit[lda]
python/tests/test_array_api.py
CodSpeed Performance Gauge
+76%
16.6 s9.4 s
test_jit[tuple]
python/tests/test_array_api.py
CodSpeed Performance Gauge
+35%
998 ms737 ms

Passed

test_jit[add]
python/tests/test_array_api.py
CodSpeed Performance Gauge
+10%
460.3 ms418.9 ms
test_run_lda[array_api-optimized-numba]
python/tests/test_array_api.py
CodSpeed Performance Gauge
+2%
112.3 µs109.7 µs
test_run_lda[base]
python/tests/test_array_api.py
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
test_run_lda[array_api-optimized]
python/tests/test_array_api.py
CodSpeed Performance Gauge
0%
857 µs857.8 µs
test_run_lda[array_api]
python/tests/test_array_api.py
CodSpeed Performance Gauge
-1%
4.8 ms4.8 ms

Commits

Click on a commit to change the comparison range
Base
main
c1d8d81
+0.2%
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
4 months ago
by saulshanabrook
© 2025 CodSpeed Technology
Home Terms Privacy Docs