Thurston Dang

Results 5 comments of Thurston Dang

Another source of inefficiency in `parse_tilde` is that OCaml by default has eager evaluation, which means `implode` will be called at every per-character iteration of `parse_tilde`, instead of just once...

Linear-time versions of `parse_tilde` and `to_assign` (changing list append to list prepend + one-off reverse, and removing the eager implode in parse_tilde): ``` and maybe_implode_rev acc = if acc =...

> The temporary cast to long long allows arithmetics to be done on 64 bits before the truncation (which is also probably undefined behaviour formally too, but -ftrapv and -fsanitize=undefined...

> > Let's keep this open until [llvm/llvm-project@58f7251](https://github.com/llvm/llvm-project/commit/58f7251820b14c93168726a24816d8a094599be5) is in a LLVM release > > Should be backported soon: [llvm/llvm-project#86201](https://github.com/llvm/llvm-project/pull/86201). Backport has landed in the 18.x branch (release pending): https://github.com/llvm/llvm-project/commit/c2a57034eff048cd36c563c8e0051db3a70991b3

> Hi @thurstond (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a...