8000 GitHub - kekse1/field: Best[tm] way to manage multi-dimensional arrays (of any type)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kekse1/field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Field

This is the best[tm] way to manage multi-dimensional arrays (of any type).

It's about arrays (of any type) without really nesting them, but access with multi-dimensional coordinates. These coordinates are calculated, similar to radix/base conversions. That's also the reason why you even can use any TypedArray which doesn't really support nesting 'em.

You can either use the dimensions and/or calculated offsets, or directly the concrete data (if you've set an array before). In both directions, so calculation of offsets and also coordinates.



News

  • [2025-03-12] Just finished the bash version now, too.

Download

  • JavaScript [Version v1.0.0; Last update: 2025-03-12];
  • Bash Shell [Version v1.0.0; Last update: 2025-03-12];

Note

The JavaScript variant is a bit bigger, and calculates with BigInt.


Test(s)


Example Screenshots

JavaScript Bash Shell


Contact

Copyright and License

The Copyright is (c) Sebastian Kucharczyk, and it's licensed under the MIT (also known as 'X' or 'X11' license).

Favicon

About

Best[tm] way to manage multi-dimensional arrays (of any type)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0