Improve performance : use array instead of List