granite-rust/compiler/rustc_span
Tomasz Miąsko 7a410763fa Avoid byte to char position conversions in is_multiline
Converting a byte position into a char position is currently linear in
the number of multibyte characters in the source code. Avoid it when
checking if a range spans across lines.

This makes it feasible to compile source files with a large number of
multibyte characters.
2021-07-01 13:30:00 +02:00
..
src Avoid byte to char position conversions in is_multiline 2021-07-01 13:30:00 +02:00
Cargo.toml Add support for SHA256 source file hashing for LLVM 11+. 2020-10-14 15:09:51 -07:00