Comments (1)
That's an interesting question. The binary or *view structures can encode any structured data one can describe, say, with JSONSchema. I use them as a simpler, js specific alternative to FlatBuffers for storage and transfer where JSON is too much of an overhead and the structures are too complex to just get away with a DataView or TypedArrays.
In case of HAMT, we can, for example, encode the resulting array of nodes as a VectorView (or several) of MapViews representing structures for nodes. This will essentially make the result immutable, since we cannot change the length of the created VectorView(s), and have some overhead depending on the way we describe the structures for nodes, though I'm sure it will be much less than most other ways of encoding will give us.
from structurae.
Related Issues (20)
- Storing graph nodes HOT 2
- Benchmark not ablet to run HOT 1
- TypedArray storing js object? HOT 1
- Types Issue? HOT 1
- Sorted ObjectView? HOT 1
- SharedArrayBuffer support? HOT 6
- Benchmark results HOT 1
- Documentation: BinaryHeap.compare HOT 1
- Java Support? HOT 1
- Import error in node/typescript project (No "exports" main defined in .../structurae/package.json) - 4.0.x HOT 1
- [Documentation] How to actually use BitField / BitArray in schema definitions? HOT 5
- Matrix operations for Grids.
- Feature request: Sorted Map HOT 2
- Question about sorted array and push() HOT 2
- Add unsafeFrom sortedArray initializer? HOT 3
- Shouldn't SortedArray replace elements upon `push` or `unshift` if unique? HOT 3
- Grid.size needs better name
- Inheriting from DataView/TypedArray HOT 3
- Build failure trying to use structurae in typescript project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from structurae.