Skip to content

Commit ebafcce

Browse files
authored
inlined the reading of code units (#10)
1 parent 74a10e9 commit ebafcce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

third_party/packages/path_parsing/lib/src/path_parsing.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ class SvgPathStringSource {
185185
/// Reads a code unit and advances the index.
186186
///
187187
/// Returns -1 if at end of string.
188+
@pragma('vm:prefer-inline')
188189
int _readCodeUnit() {
189190
if (_idx >= _length) {
190191
return -1;

0 commit comments

Comments
 (0)