relufi

Results 5 comments of relufi

> I'm not sure that this new ordering is valid, but does it really matter? The logger is set at most once, usually during startup, personally I don't think the...

I tried to use a more relaxed order and wrote a [test](https://github.com/relufi/log/blob/8b5da221f8c53211a5534fe530adb53abc31b430/src/lib.rs#L1969) https://github.com/relufi/log/blob/use-relaxed-memory-barriers/src/lib.rs However, when I tried to change all the memory order to Relaxed and tested on the arm...

Reference std::sync::Once SeqCst is not necessary, I am concerned that using SeqCst in every log! will affect performance (log! is too common and SeqCst is too expensive on some platforms)....

I am using a translation tool, so please bear with me if I make any mistakes.

```rust let s= r#" {"a": "err:or","b": "qqq"} "#; println!( "parsing a valid file:\n{:#?}\n", root::(s) ); ``` ``` parsing a valid file: Err( Failure( ( ":or\",\"b\": \"qqq\"}\n ", Char, ), ),...