Search algorithms maintain so-called OPEN-and CLOSED-lists to manage the exploration status of generated nodes.
as for the acrostic use case, the resulting text's quality gives the most obvious possibility for improvements.