Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedata

Time and space efficient data structures and algorithms for vectors, matrices, and math.

pub.devRemove
weak_map

A map whose keys are weakly held, and cache functions for memoization.

pub.devRemove
ScoresHealth7280 (best)
Maintenance6390 (best)
Quality100 (best)96
Popularity5259 (best)
Community52 (best)46
Compatibility100100
UsageDownloads (30 days)16k62k (best)
Likes22 (best)19
Pub points160 / 160 (best)150 / 160
GitHub stars26 (best)21
MaintenanceLatest release0.15.2, 11 months ago4.1.3, 3 days ago (best)
Major versions in 12 months00
Contributors3 (best)2
Publisherlukas-renggli.chglasberg.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies30 (best)
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Fast and space-efficient data structures for vectors and matrices
  • Comprehensive mathematical algorithms including solvers and eigenvalue decomposition
  • Supports Dart, Flutter, and the web
  • Prevents memory leaks by not keeping keys alive
  • Built-in memoization and cache functions for immutable states
  • Pure Dart with zero dependencies
Weaknesses
  • Limited to specific mathematical and numerical domains
  • Not a general-purpose ML/AI framework
  • No iteration, length, keys, or values methods on WeakMap by design
  • Requires immutable state objects for proper cache invalidation
WarningsNoneNone
data vs weak_map: which Flutter package should you use? | pubscout