Giter Club home page Giter Club logo

Comments (3)

UncP avatar UncP commented on June 30, 2024

第一个 byte 用来存放 key 长度,第125行。

from aili.

skyelves avatar skyelves commented on June 30, 2024

为什么需要把长度写两次,一个key[0],另一个adaptive_radix_tree_put的第三个参数?而且传入adaptive_radix_tree_put这个函数中时并没有用到key[0],但是函数里面却会用到key[0]这个值,有点不太理解这样做的目的

from aili.

UncP avatar UncP commented on June 30, 2024

节省每个节点的大小,这样就不用在节点里添加 len[N] 这样的字段了

from aili.

Related Issues (9)

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.