object_pool 1.0.0 copy "object_pool: ^1.0.0" to clipboard
object_pool: ^1.0.0 copied to clipboard

A high-performance generic object pool for Dart and Flutter that reduces garbage collection pressure by reusing pre-allocated objects, ideal for games, animations, particle systems, and performance-cr [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add object_pool

With Flutter:

 $ flutter pub add object_pool

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  object_pool: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:object_pool/object_pool.dart';
0
likes
150
points
5
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A high-performance generic object pool for Dart and Flutter that reduces garbage collection pressure by reusing pre-allocated objects, ideal for games, animations, particle systems, and performance-critical applications.

Repository (GitHub)
View/report issues

Topics

#performance #games #memory #optimization #pooling

License

MIT (license)

Dependencies

meta

More

Packages that depend on object_pool