Implementing High Performance Lexical Analyzer Using CELL Broadband Engine Processor
The lexical analyzer is the first phase of the compiler and commonly the most time consuming. The compilation of large programs is still far from optimized in today's compilers. With modern processors moving more towards improving parallelization and multithreading, it has become impossible for performance gains in older compilers as technology advances. Any multicore architecture relies on improving parallelism than on improving single core performance. A compiler that is completely parallel and optimized is yet to be developed and would require significant effort to create. On careful analysis, the authors find that the performance of a compiler is majorly affected by the lexical analyzer's scanning and tokenizing phases.