remove slower impl, add benchmarks

This commit is contained in:
Bernardo 2018-12-21 18:51:31 +01:00
parent a005d2a614
commit d6312085a1
6 changed files with 304 additions and 201 deletions

View file

@ -2,7 +2,8 @@ mod code_actions;
mod extend_selection;
mod folding_ranges;
mod line_index;
mod line_index_utils;
// public for benchmarkig
pub mod line_index_utils;
mod symbols;
#[cfg(test)]
mod test_utils;
@ -13,7 +14,6 @@ pub use self::{
extend_selection::extend_selection,
folding_ranges::{folding_ranges, Fold, FoldKind},
line_index::{LineCol, LineIndex},
line_index_utils::translate_offset_with_edit,
symbols::{file_structure, file_symbols, FileSymbol, StructureNode},
typing::{join_lines, on_enter, on_eq_typed},
};