Basically check if the previous lookup was the same context, if yes return the same translation. Otherwise do the lookup. Also included Russells patch for avcstat. Dan