Comment

Comment by thesz

  > Matrix multiplication is after all nothing but an aggregate sum over a cross join.
https://www.vldb.org/pvldb/vol13/p1919-wang.pdf

They converted linear algebra expressions into relational algebra expressions, optimized them using equality saturation and converted back into linear algebra. With some noticeable speedups.

They used relational algebra for optimization because relational algebra has canonical form - there is only one most optimal expression.

And, equality saturation is most efficiently implemented using generic join algorithm.

parent thesz 26 days ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton