Haskell fast concurrent queue

后端 未结 2 590
一向
一向 2021-01-31 09:47

The Problem

Hello! I\'m writing a logging library and I would love to create a logger, that would run in separate thread, while all applications threads

2条回答
  •  孤街浪徒
    2021-01-31 10:11

    If I had to guess why pipes-concurrency perform more poorly, it's because every read and write is wrapped in an STM transaction, whereas the other libraries use more efficient low-level concurrency primitives.

提交回复
热议问题