Patent ID: 7765533

Claim:
A method for processing an information based on a sequence of instructions in an apparatus for data processing comprising a processor, said method comprising the acts of: detecting a repeated sub-sequence in said sequence of instructions by the apparatus for data processing; determining a number of external processing units connected to ports of the apparatus, the external processing units being external to the apparatus; providing an index information indicating a repetition rate of said repeated sub-sequence, wherein said index information comprises an integer number set in proportion with a ranking of the repetition rate of said repeated sub-sequence compared to the repetition rate of other detected repeated sub-sequences; and determining an allocation between the external processing units and said repeated sub-sequence based on said index information; wherein said allocation is determined by comparing said integer number with the number of the external processing units, and wherein all repeated sub-sequences for which said integer number is smaller than said number of the external processing units are allocated to a selected processing unit.