gpt4 book ai didi

Javascript protobuf 性能

转载 作者:行者123 更新时间:2023-11-29 15:23:07 24 4
gpt4 key购买 nike

nodejs 中的 protobuf 有两个不同的模块可用 -

  1. https://github.com/dcodeIO/ProtoBuf.js/
  2. https://github.com/google/protobuf/tree/master/js - 官方但功能少于其他模块。具体来说,没有 typescript 集成。

哪个性能更好?

最佳答案

来自 protobuf.js performance部分,protobuf.js 的性能明显高于官方实现。

关于Javascript protobuf 性能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41924680/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com