A method and apparatus for statistical compilation is presented. A
statistic component portion for each statistic is stored in each a
plurality of banks in a multi-location memory. At least one statistical
update stream is received. Each statistical update stream includes a
plurality of statistical updates, where each statistical update includes
a statistic identifier and an update operand. Received statistical
updates are scheduled to produce a scheduled update stream. A control
block executes the updates. The control block retrieves the current value
of one of the statistic component portions from memory and combines the
current value with the update operand of a corresponding statistical
update. The resulting updated component value is then stored back into
memory. When a processing block issues a statistic request, the control
block fetches each of the component portions from memory and combines the
component portions to produce a total statistic value.