Patent · US Active

Fast flattening of nested streams

US7937694B2 · kind B2 · utility

8Cited by
3References
23Claims
0Family size

Assignee

Inventors

Key dates

Filing dateFeb 13, 2004
Grant dateMay 3, 2011
Priority date
Expiry dateJan 9, 2027

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/4484
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Techniques and tools are described for flattening nested streams. For example, a stream flattening tool processes nested streams on a stack to traverse the nested streams. The tool produces a flattened stream that enumerates the elements of the nested streams. In one embodiment, the tool initially pushes a stack frame onto the stack for a stream representing all of the nested streams. As the tool iterates across the “active” stream having the frame on the top of the stack, the tool may encounter and produce elements in the “active” stream. Or, the tool may encounter a nested stream and push a stack frame for the nested stream onto the stack, then continuing by iterating across the new active stream. The tool pops the stack frame for the active stream from the stack when the end of the stream is reached, or potentially earlier if handling a nested tail stream.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.