A ~200 LOC Rust crate benchmarked against ten other languages — came out ahead of a monomorphized C++ lib by ~4× at sub-fanout dispatch. Hot loop is six instructions. Can you make it faster?

all 2 comments

sorted by: hot top controversial new old
[–] 21 points 6 months ago*

I have no clue about the different event systems specifically, but generally the less features you want out of something, the easier it is to make it fast. I would assume the others don't need/want this extreme minimalism and trade it for something else.

  • source
  • [–] 1 point 6 months ago

    Why are people down voting this

  • source
  • 4 comments in c/rust@programming.dev view that post
    [–] 22 points 6 months ago (2 children)

    I made

    Looks inside.

    de-LLM readme
    Claude Code committed 5 days ago

    Add bench results to README
    Claude Code committed 5 days ago

    Initial commit
    Claude Code committed 5 days ago

  • source
  • hideshow 2 child comments
  • [–] 4 points 6 months ago

    Why does emit() take an owned E value?

  • source