BinCheng

Results 48 comments of BinCheng

> Rahix Your example code really impressed me, thank you!

> alpha-tango-kilo My friend, I got your description of your needs, Since getting an internal state is an asynchronous process, can add this API, but it needs to be called...

> Yeah that's fine if it needs to be `async` I can work with that. Thanks for your response! I'm sorry to say that I've been very busy lately, but...

> **Describe the bug** > > ```rust > #[async_std::main] > async fn main() -> Result { > let conf = reader::read_config::read("conf/config.toml"); > log4rs::init_file("conf/log4rs.yaml", Default::default()).unwrap(); > let delay_timer = DelayTimerBuilder::default().build(); >...

> Use add_task,it is run fast more.like this: > > ```rust > let s = "echo 1".into(); > delay_timer.add_task(build_task_async_execute_process(i,&s)?)?; > ``` Yes, it is nanosecond level speed, hope it helps...

> but I ment another problem,when I run 100 task,every task run 1 time in 1 second,when it run,the memory rise step by step, after about 2 hours,it rise from...

> Thanks for your response,this is my code: > > ```rust > #[async_std::main] > async fn main() -> Result{ > log4rs::init_file("conf/log4rs.yaml", Default::default()).unwrap(); > info!("begin"); > let delay_timer = DelayTimerBuilder::default().build(); >...

> 8 Hi friend, I noticed your feedback that the program generates more and more buffering during operation, and now it has got 75% - 80% memory optimization. For after...

> Thank for your reply.In my submission in fact, this crate is good enough. but might be possible there is some memory leak? I am beginner in rust and not...

> Thank you for the monitoring script, it looks very subtle. May I ask, did you compile the program using `debug` mode? If it is convenient, please use `release` to...