Post a minimal and testable example so we can know better whats really you want to use, like the answer above you can use vertex array, you will gane a SIGNIFICANT boost but you will lose some of "control" properties.
You can add too what really you want to do, if you need to changes somes propertie likes texture, color , thickness , outline etc...