Hacker GitHub

← All repos

mapbox/pbf

View on GitHub ↗ ★ 887 JavaScript

A low-level, lightweight protocol buffers implementation in JavaScript.

4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2018-04-11 · latest 2024-04-23

Mentions per year 4 mentions · busiest year 2018 (1)
20082026
  1. …for streaming at ~20hz. when i benchmarked the fastest lib to simply run the protobuf decode ( https://github.com/mapbox/pbf ), it was 5x slower than native JSON parsing in browsers for dataframe-like structures (e.g. a few dozen 2k-long…
  2. at least in the frontend (without WASM), it depends. a few months ago i tested https://github.com/mapbox/pbf and while it was faster for deep/complex structs vs an unoptimized/repetative JSON blob, it was much slower at shallow structs and…
  3. …vector tiles) https://github.com/mapbox/vector-tile-js - pbf (fast reading/writing of protobuf) https://github.com/mapbox/pbf - TinySDF (generating SDF from local CJK fonts) https://github.com/mapbox/tiny-sdf - Potpack (generating sprite…
  4. …useful with protobufs, one in C++ and one in pure javascript. https://github.com/mapbox/protozero https://github.com/mapbox/pbf