• CPU@lemdro.id
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    hashbrown uses aHash by default, which is much faster than std’s SipHash-1-3

  • Anh Kagi@jlai.lu
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    I suppose it’s because the article you’re citing is from april 22nd, and that hashbrown has replaced old std hashmap in this commit, which hash been created on 24th.

    I suppose (can’t test myself) that if you do the test now (hashbrown against std), the performance difference would be negligeable beacuse you would be testing roughly the same algorithms.