Add note about quadratic running times

This commit is contained in:
Laurenz 2021-06-09 10:56:11 +02:00
parent c7416f18bd
commit 9983634cd5

View File

@ -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};