about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-10 13:14:26 +0200
committerGitHub <noreply@github.com>2019-06-10 13:14:26 +0200
commit97df8676b7fb856e396057b8ecfc231489456b10 (patch)
tree7a775d0f30b4e613deca7f01a977ba8781c6c01e /src/test/incremental/thinlto
parent1cbd8a4d686d1411105f26cddf876c5994e69593 (diff)
parenta4a07e00ced90e076dbadd8b350db527bcc588bd (diff)
downloadrust-97df8676b7fb856e396057b8ecfc231489456b10.tar.gz
rust-97df8676b7fb856e396057b8ecfc231489456b10.zip
Rollup merge of #59600 - tobia:master, r=pnkfelix
Replaced linear token counting macros with optimized implementation

There are currently two distinct token-counting macros in the source. Both implement the trivial algorithm, with linear complexity. They may or may not be adequate for their use case, but considering that other people are probably going to copy and paste them whenever they need a token-counting macro, I replaced them with an optimized implementation with logarithmic complexity.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions