Generic algorithm implementation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ramk
    New Member
    • Nov 2008
    • 61

    Generic algorithm implementation

    Does anybody give me suggestions in implementing an algorithm using a programming language such as C#.

    For example, lets say; I had a stream of data continuously coming to me. I want to filter the data based on certain conditions such as "if new data is lessthan 10", discard the new data.

    I can implement the same by 'C# generic collection', but Im more concerned about the performance. Because I may have to iterate the entire input collection for the conditional predicates.

    I heard about the ANTLR parser. I wanted to know any best way to implement such new algorithms.
Working...