mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
performance: Use ascii-only version of getUnitl for parsing attribute names
Not having to consider utf-8 characters has performance benefits.
This commit is contained in:
parent
95b135b59e
commit
87d0499fc8
1 changed files with 2 additions and 2 deletions
|
@ -596,7 +596,7 @@ void Task::parse (const std::string& input)
|
|||
std::string value;
|
||||
while (!attLine.eos ())
|
||||
{
|
||||
if (attLine.getUntil (':', name) &&
|
||||
if (attLine.getUntilAscii (':', name) &&
|
||||
attLine.skip (':') &&
|
||||
attLine.getQuoted ('"', value))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue