HazyResearch / deepdive

DeepDive
deepdive.stanford.edu
1.95k stars 539 forks source link

Use View for factor tables in Grounding #602

Closed zifeishan closed 7 years ago

zifeishan commented 7 years ago

In many applications, factor tables are huge tables unnested from compact original representations. This change to use views instead of materializing them is measured to save 30--40% of overall grounding time in some application.

zifeishan commented 7 years ago

Breaking spouse example grounding, discarding. In the future may want to make this dynamic / configurable.