Decodinglarge AIS encoded data sets into clear text is time consuming. This paperdetails an approach on how to structure the innermost part of AIS decoding toincrease performance. The method is compared to existing Open Sourceimplementations, as well as to a straight forward example. The proposedapproach can increase decoding performance 20-30 times compared to these.