1. A method for optimizing system performance in a variable length decoding system, comprising: accessing a plurality of variable length coding (VLC) tables associated with the variable length decoding system; computing probabilities of occurrences for individual elements in the plurality of VLC tables, wherein each element is used for decoding a variable length code; and allocating the elements to a plurality of memories of the variable length decoding system based on the probabilities of occurrences for the elements and costs associated with accessing the plurality of memories, wherein the variable length decoding system is operable for decoding a variable length encoded bit stream.