structurae icon indicating copy to clipboard operation
structurae copied to clipboard

Data structures for high-performance JavaScript applications.

Results 15 structurae issues
Sort by recently updated
recently updated
newest added

Hello! First of all, thank you for the marvelous (and quite unique) way of handling binary data in JavaScript! This library is paving the way for an intra-worker communication I've...

Was curious if it is possible to convert Java objects into a `View` and sent to browser for JavaScript consumption? Any examples?

Could the binary structures serve as the basis for persistent data structures, implemented as [HAMT](https://en.wikipedia.org/wiki/Hash_array_mapped_trie)?

It would be nice to have a markdown file showing the benchmark results.

Is it possible to support SharedArrayBuffers?

The lookup table approach is really neat, but after running some benchmarks it looks like we can get a ~10-15x speedup by using the built-in `Math.clz32()` ### Benchmark ``` let...

I currently have a npm project. And trying to use structurae appears to fail when generating typings in vite project.. ``` $ tsc -p tsconfig.build.json && vite build ../../node_modules/structurae/types/grid.d.ts(42,65): error...

Most objects in this library inherit from `DataView` or `TypedArray`. That means they have a number of methods which don't respect the type abstraction. e.g. since `Uint16View` extends `DataView`, it...

`Grid` has a `size` property which represents the log of the number of columns. This is confusingly named, since it seems like it should be some size of the grid...