Link Search Menu Expand Document
  • Introduce BIO: A Simple Streaming Abstraction

    2021-04-20 20:43:14 +0000 by Dong

    Streaming IO is an old idea: the data is read in chunks, each chunk gets processed and written to output so that the whole memory a program used is kept under a relatively low level. e.g.

  • High-performance JSON codec

    2021-02-01 22:52:44 +0000 by Dong

    JSON processing is a fundamental building block in modern network applications. It’s also a large module in Z-Data package. With careful optimization, we managed to get a 1.5X - 3X encoding and 3X decoding performance boost comparing to aeson, a widely used JSON package on hackage.