Giter VIP home page Giter VIP logo

y3-codec's People

Contributors

chenjunbiao avatar fanweixiao avatar imgbot[bot] avatar xiaojian-hong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

andypeng2015

y3-codec's Issues

proposal: chunked encoding

The TLV structure facilitates efficient implementation of the decoding process. On the other hand, it requires the encoder to know the size of the value in advance. This constraint can be detrimental to the encoder when encoding large data blocks and streaming data. The chunked encoding scheme is introduced to balance between the encoder and the decoder. Even the transmission protocol is able to transmit data in chunks, the chunked encoding feature can still save the splicing information which is required for concatenation to be encoded.

Spec: draft-02


TLV 结构有利于解码器的高效实现,但要求编码器预先得知值的大小。这个约束在大数据块编码和流式编解码时会对编码器不利,因此引入分块编码方式在编解码器之间进行平衡。即使在传输协议存在分块传输能力时,分块编码特性仍然能够节省用于分片拼接所需的拼接编码信息。

编解码器规范见 draft-02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.