Just released react-native-columnar π
A zero-copy columnar transport for React Native built around ArrayBuffer + TypedArrays.
Benchmarks are pretty wild:
β’ 27Γ faster at 100 rows
β’ 94Γ faster at 500 rows
β’ 121Γ faster at 1000 rows
β’ 208Γ faster at 2000 rows
We just released react-native-runtimes! π₯³
π Render React components on separate JS Runtimes
π Share state (Zustand) across Runtimes, synced in C++
π Dual-Thread-approach for rendering/business logic
We plugged this into MetaMask which made the app start substantially faster:
@ospfranco That's understood - maybe I misunderstood your tweet. What I meant is that moving from a pure HostFunction to calling the same function through NativeState adds almost no overhead
HostObject case is a different story
HostObject: 188ms
NativeState: 38ms
HostFunction: 26ms
Just released react-native-columnar π
A zero-copy columnar transport for React Native built around ArrayBuffer + TypedArrays.
Benchmarks are pretty wild:
β’ 27Γ faster at 100 rows
β’ 94Γ faster at 500 rows
β’ 121Γ faster at 1000 rows
β’ 208Γ faster at 2000 rows
@peterpme if you return some data from the native side, and the data is like Array<{id: number, isActive: bool}>, and there are a lot of objects, you should try this solution, it's much faster