zero_gc_allocator 1.0.0
zero_gc_allocator: ^1.0.0 copied to clipboard
Ultra-high-performance manual memory management for Dart/Flutter using FFI, offering arena, pool, and slab allocators outside the Dart GC for zero GC pressure and deterministic O(1) allocation latency [...]
We analyzed this package 44 hours ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
202 out of 266 API elements (75.9 %) have documentation comments.
Some symbols that are missing documentation: zero_gc_allocator.AlignmentException.AlignmentException.new, zero_gc_allocator.ArenaDisposedException.ArenaDisposedException.new, zero_gc_allocator.ArenaOutOfMemoryException.ArenaOutOfMemoryException.new, zero_gc_allocator.ArenaOutOfMemoryException.usageRatio, zero_gc_allocator.ArenaOutOfMemoryException.usedBytes.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:zero_gc_allocator/zero_gc_allocator.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/arena/zero_gc_arena.dart:80:17
╷
80 │ /// | allocTyped<T>(n) | O(1) | identical to alloc + cast |
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/arena/zero_gc_arena.dart
INFO: Statements in a for should be enclosed in a block.
lib/src/typed/native_buffer.dart:184:33
╷
184 │ for (int i = 0; i < 4; i++) bd.setUint8(i, readUint8(offset + i));
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/typed/native_buffer.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.0 |
2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Dart 3.13.5.
Check the analysis log for details.