]> git.lizzy.rs Git - rust.git/commit
switch to dynamic dispatch for TokenSource
authorAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 20 Feb 2019 19:02:03 +0000 (22:02 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 20 Feb 2019 19:02:03 +0000 (22:02 +0300)
commitd2bce118ae72ee5cf96b8c6ac687914cb842363c
tree21e35f7d44add69cb3bc3d4af09e0bdd01dac0a9
parent0c81b9deeed81bfb2cf8142af9d748317d5d71a1
switch to dynamic dispatch for TokenSource

Benchmarks show no difference. This is probably because we are
bottlenecked on memory allocations, and we should fix that, but we are
not optimizing for performance just yet.

changes. Lines starting # with '#' will be ignored, and an empty
message aborts the commit. # # On branch token-source # Changes to be
committed: # modified: crates/ra_syntax/src/parsing/parser_api.rs #
modified: crates/ra_syntax/src/parsing/parser_impl.rs #
crates/ra_syntax/src/parsing/parser_api.rs
crates/ra_syntax/src/parsing/parser_impl.rs