PackageTrack
Sign in Get early access

array2d

Array2d

2.5.1 s1r1m1r1/array2d

What this package is like to depend on

Last release 8 months ago

26 Dec 2025

Release timing varies

gaps range from 1 weeks to 7 months

Some releases are documented

notes for 10 of 17 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

17 releases · first in 2025

15 releases in the last 12 months

see the full history below

Release timeline

17 releases · Feb 2025 to Dec 2025
2026
Release Pre-release

Releases

latest 17
  1. 2.5.1 26 Dec 2025

    Nothing published for this version

  2. 2.5.0 26 Dec 2025

    Nothing published for this version

  3. 2.4.0 26 Dec 2025
    Release notes

    added build method

    Open source →
  4. 2.3.3 24 Nov 2025

    Nothing published for this version

  5. 2.3.2 23 Nov 2025

    Nothing published for this version

  6. 2.3.1 22 Nov 2025

    Nothing published for this version

  7. 2.3.0 22 Nov 2025

    Nothing published for this version

  8. 2.2.0 22 Nov 2025
    Release notes

    removed forEachRow , forEachColumn

    Open source →
  9. 2.1.0 22 Nov 2025
    Release notes

    Restored Mutable Indexing & Performance Optimization

    FIX: Restored support for the intuitive assignment syntax array[x][y] = value.

    Technical Detail: The operator [] now returns a lightweight ColumnView proxy instead of a List copy. This allows modifications to propagate directly to the internal storage without overhead.

    PERFORMANCE: Retained the internal flat-array architecture introduced in 2.0.0.

    2.0.0

    Performance & Refactoring

    BREAKING CHANGE (Internal Access): Refactored the internal storage of Array2d<T> from List<List<T>> to a single List<T> (1D array).

    Benefit: This change significantly improves read/write performance and iteration speed by leveraging memory cache locality, as confirmed by benchmarks (up to 1.39x faster for random lookups).

    Implementation: Now uses Column-Major indexing (k = x * height + y) to map 2D coordinates to the 1D index.

    Fixes & API Consistency

    Assignment Operator Fix: The indexed assignment operator (array[x][y] = value) is no longer supported for modifying elements in the 1D-backed structure.

    The operator [] method now returns a copy (List<T>) of the column data, making direct modification via indices ineffective.

    Action Required: Users must use the dedicated methods for writing and reading:

    Set Value: Use array.setValue(x, y, value)

    Get Value: Use array.getValue(x, y)

    Open source →
  10. 2.0.0 22 Nov 2025

    Nothing published for this version

  11. 1.5.0 11 Nov 2025
    Release notes
    • added getRowOrNull and getValueOrNull methods
    Open source →
  12. 1.4.0 20 Sep 2025
    Release notes

    added whereabout methods

    Open source →
  13. 1.3.0 08 Sep 2025
    Release notes
    Open source →
  14. 1.2.0 08 Sep 2025
    Release notes
    • added where and whereType
    Open source →
  15. 1.1.0 08 Sep 2025
    Release notes
    • remove resize width and height
    Open source →
  16. 1.0.1 05 Feb 2025
    Release notes
    • fix readme
    Open source →
  17. 1.0.0 04 Feb 2025
    Release notes
    • array2d release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive