forked from mirrors/gecko-dev
Also remove most C++-side optimizations for avoiding calls to Rust for short strings now that we have LTO between C++ and Rust. Since LTO still leaves the overhead of one function call layer, inlined function call avoidance optimization is left in place in the IsUTF8 and in the 8-bit IsASCII cases for which perfherder flags the difference as significant for the length 15. Differential Revision: https://phabricator.services.mozilla.com/D40999 --HG-- extra : moz-landing-system : lando
9 lines
382 B
Text
9 lines
382 B
Text
encoding_c_mem is copyright 2015-2016 Mozilla Foundation.
|
|
|
|
Licensed under the Apache License, Version 2.0
|
|
<LICENSE-APACHE or
|
|
https://www.apache.org/licenses/LICENSE-2.0> or the MIT
|
|
license <LICENSE-MIT or https://opensource.org/licenses/MIT>,
|
|
at your option. All files in the project carrying such
|
|
notice may not be copied, modified, or distributed except
|
|
according to those terms.
|