Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Vectorize search in TryExtractVersion #73

@gfoidl

Description

@gfoidl

for (; i < haystack.Length; ++i)
{
char c = haystack[i];
if (char.IsBetween(c, '0', '9'))
{
break;
}
}
and
for (i = 0; i < haystack.Length; ++i)
{
char c = haystack[i];
if (!(char.IsBetween(c, '0', '9') || c == '.'))
{
break;
}
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions