File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -349,13 +349,13 @@ class CodeChunks {
349
349
fbReader = 'fb.${_propertyFlatBuffersType [p .type ]}Reader()' ;
350
350
return readFieldNonNull ('0' );
351
351
case OBXPropertyType .String :
352
- // TODO `asciiOptimization: true` is for keeping the same behavior as the previous FB fork.
353
- // Check if it still makes sense with the latest Dart/Flutter.
352
+ // still makes sense to keep `asciiOptimization: true`
353
+ // `readAll` faster(6.1ms) than when false(8.1ms) on Flutter 3.0.1, Dart 2.17.1
354
354
fbReader = 'fb.StringReader(asciiOptimization: true)' ;
355
355
break ;
356
356
case OBXPropertyType .StringVector :
357
- // TODO `asciiOptimization: true` is for keeping the same behavior as the previous FB fork.
358
- // Check if it still makes sense with the latest Dart/Flutter.
357
+ // still makes sense to keep `asciiOptimization: true`
358
+ // `readAll` faster(6.1ms) than when false(8.1ms) on Flutter 3.0.1, Dart 2.17.1
359
359
fbReader =
360
360
'fb.ListReader<String>(fb.StringReader(asciiOptimization: true), lazy: false)' ;
361
361
break ;
You can’t perform that action at this time.
0 commit comments