mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
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…
x
Reference in New Issue
Block a user