Project

General

Profile

Feature #74

تحسين أداء المرمّز

Added by سرمد خالد عبداللّه almost 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/03/2014
Due date:
% Done:

0%

Estimated time:

Description

  • The lexer will use a process similar to that of testState in the parser.
  • Lexer will only duplicate the state when it really needs to.
  • Duplicating the state is done by first use state branching similar to that used in the parser. When we know we want to keep the state we copy the rest of the levels. For more optimization we may reserve the trunk levels but not copy them until the state is to be kept.
  • A counter is used to count the branching point in the stack to know if we need to continue move up in the stack looking for a next branching point.

History

#1

Updated by سرمد خالد عبداللّه almost 5 years ago

  • Description updated (diff)
#2

Updated by سرمد خالد عبداللّه almost 5 years ago

  • Description updated (diff)

Also available in: Atom PDF