yoshiask / CopticChanter

2 stars 0 forks source link

DocLayout tables are always recomputed #6

Closed yoshiask closed 1 year ago

yoshiask commented 1 year ago

DocLayout contains a public flag IsInvalidated, which determines whether the generated table needs to be recomputed. The CreateTable method correctly checks if it can return the cached table, but fails to reset the flag after recomputing, This means DocLayout recomputes the table every time, even when it hasn't been invalidated.