This is something I've been wondering for a long time, and I haven't known any other BPDs to compare to. 

During "good" periods I have always had good grades. Things that have especially come easily to me were math, physics, and creative writing and in those areas I was always top of the class.

One way I can see it being related to my BPD is that I often used studying as an outlet and something else to focus on. I also think BPDs in general would be good at creative writing because we tend to analyse and think a lot about things, and we see the world differently and have things to say. But I do wonder, are BPDs gifted students when we try our best? Do we have better cognitive thinking or is that completely unrelated? Do we get more into studying than other people?