From daa5e4dbed5cb11315dc3f0ce98bb1aed6b2846a Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Fri, 13 Sep 2024 02:42:01 +0900 Subject: [PATCH] Add a comment --- flutter_package/lib/src/load_os.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/flutter_package/lib/src/load_os.dart b/flutter_package/lib/src/load_os.dart index 46f08666..29b23419 100644 --- a/flutter_package/lib/src/load_os.dart +++ b/flutter_package/lib/src/load_os.dart @@ -165,6 +165,7 @@ class RustLibraryNew extends RustLibrary { /// Class for local native library symbols loaded with `RTLD_LOCAL`. /// This is relatively inefficient because `malloc.allocate` is required. +/// It involves extra memory copy before sending the data to Rust. class RustLibraryOld extends RustLibrary { late DynamicLibrary lib; late void Function() startRustLogicExtern;