mavak / trucov

True coverage tool for C / C++
1 stars 1 forks source link

Optimize Spirit Parser Assignment #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Description
The Spirit Parser assignment can be optimized by storing the value in a
global variable during the Primitives format check.

As of now: 

Primitives Check Data format. -> (isValid) -> Spirit Framework ->
Assignment Actor -> Reparse Data format -> Store in Variable

Can be:
Primitives Check Data format, Store in Global. -> (isValid) -> Spirit
Framework -> Assignment Actors grabs value from global and stores in Variable.

Files Affected (new and old)

Original issue reported on code.google.com by millerlyte87@gmail.com on 5 Sep 2009 at 8:00

GoogleCodeExporter commented 9 years ago
removed common_actors.h, and now use global variables to pass the values parsed 
by
primitives in prims.h to the grammar in gcno_grammar.h and gcda_grammar.h

Original comment by millerlyte87@gmail.com on 16 Sep 2009 at 7:07

GoogleCodeExporter commented 9 years ago

Original comment by william....@gmail.com on 22 Sep 2009 at 3:47