Shuhao Tan

Results 9 comments of Shuhao Tan

The length bonus function is not a **monotone** function (as a set function), which is a desired property We can regard length bonus function as a multi-set function or collection...

Second to Tom94. The motivation that I hope length bonus function to be monotone and submodular is because in that case, the final pp function is naturally monotone and submodular....

I personally suggest looking at the class of Archimedean t-norm or Archimedean t-conorm functions. I think it is easy to turn a t-conorm function to a set function, and we...

> Note that the formula can be rewritten as follows: > ![image](https://user-images.githubusercontent.com/44535964/49735238-ae81e180-fc54-11e8-955b-385df99969a0.png) > This shows the relationship to the initial proposal. The difference is that the ratio is brought into...

Upon further investigation, the problem lies with console encoding handling. The following snippet panics: ```rust fn main() { println!("中文"); } ``` Even with [win32console](https://docs.rs/win32console/0.1.4/win32console/), it still panics: ```rust use win32console::console::WinConsole;...

It seems that the main problem is that there is no way (or some very complicated and hacky way) to set console font to SimHei on windows 7/8/8.1. It is...

> It could be worth to move the block iteration loop into the asm block. It could improve performance a bit since the hasher state will be kept in registers...

Tested on AMD Ryzen 9 5900X (Zen 3), Windows 10 22H2: ## Before moving block loop inside asm `x86_64`: ``` running 4 tests test md5_10 ... bench: 11 ns/iter (+/-...

It is interesting that I went on to try to solve another problem revolving flatten in #2751 and we actually ended up on very similar approach.