You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Flatbuffers as git submodule and vendor Python runtime
- Add Google Flatbuffers as git submodule at deps/flatbuffers
- Pinned to commit 95053e6a (v25.9.23-2, same as zlmdb)
- Vendor Python runtime at root flatbuffers/ directory for packaging
- Consistent with zlmdb approach (submodule + vendored copy)
Part of #1760
Further, to speed up JSON on CPython using `ujson`, set the
341
-
environment variable:
366
+
#### Backwards Compatibility
367
+
368
+
The `serialization` optional dependency is maintained for backwards compatibility:
369
+
370
+
pip install autobahn[serialization] # Still works, but now a no-op
371
+
372
+
#### ujson Acceleration
373
+
374
+
To speed up JSON on CPython using the faster `ujson`, set:
342
375
343
376
AUTOBAHN_USE_UJSON=1
344
377
345
-
Warning
378
+
> **Warning**: Using `ujson` will break the ability of Autobahn to transport and translate binary application payloads in WAMP transparently. This ability depends on features of the standard library `json` module not available in `ujson`.
379
+
380
+
#### Recommendations
346
381
347
-
Using `ujson` (on both CPython and PyPy) will break the ability
348
-
of Autobahn to transport and translate binary application
349
-
payloads in WAMP transparently. This ability depends on features
350
-
of the regular JSON standard library module not available on
0 commit comments