mirror of https://github.com/stelzo/typst.git
Add note about quadratic running times
This commit is contained in:
parent
c7416f18bd
commit
9983634cd5
|
|
@ -1,3 +1,8 @@
|
|||
// FIXME:
|
||||
// Both `LineMap::location` and `search_column` can lead to quadratic compile
|
||||
// times for very long lines. We probably need some smart acceleration structure
|
||||
// to determine columns.
|
||||
|
||||
use super::Scanner;
|
||||
use crate::syntax::{Location, Pos};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue