Filtering polylines

What is the best and fastest way to conditionally display (around 500) polylines? Is it faster to delete and create them or show and hide them based on polylines' parent (or there exists some third and better way?)? I'm getting the data from web services and I need to show/hide polylines based on user's choices.