Files
rust/src/libsyntax_pos
bors 9f79d2f86a Auto merge of #50997 - michaelwoerister:pre-analyze-filemaps, r=Mark-Simulacrum
Make FileMap::{lines, multibyte_chars, non_narrow_chars} non-mutable.

This PR removes most of the interior mutability from `FileMap`, which should be beneficial, especially in a multithreaded setting. This is achieved by initializing the state in question when the filemap is constructed instead of during lexing. Hopefully this doesn't degrade performance.

cc @wesleywiser
2018-06-28 11:20:41 +00:00
..
2018-06-14 11:21:48 -07:00
2018-06-28 10:46:04 +02:00
2018-05-09 20:14:03 +10:00
2018-06-28 11:04:51 +03:00