fast_blurhash
BlurHash को डिकोड करने के लिए उच्च प्रदर्शन वाला Dart FFI पैकेज, तेजी से प्रोसेसिंग के लिए Rust का उपयोग करता है।
BlurHash को डिकोड करने के लिए उच्च प्रदर्शन वाला Dart FFI पैकेज, तेजी से प्रोसेसिंग के लिए Rust का उपयोग करता है।
^0.2.0^1.2.0^0.1.0-dev.6^2.1.2^13.0.0^4.0.0^1.24.9यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A Dart FFI package project that uses Rust to decode the blurhash and encode the final image, utilizing FFI to call these functions. This package exists because it works +20x faster on average than the common Dart implementation and can be tested in release mode by running the benchmarks.dart demo.
It only works with the latest version of Flutter on the main branch and requires the following feature to be enabled: flutter config --enable-native-assets. For more details, refer to this issue.
This template uses the following structure:
rust: Contains the rust source code.
lib: Contains the Dart code that defines the API of the plugin, and which calls into the native code using dart:ffi.
To test the performance of the package in release mode, run the benchmarks.dart demo.
Run the benchmark using : flutter run -t lib/benchmarks.dart --release