Zero is needed prior to college, so I'm glad you are already taking AP Comp Sci and enjoying it!! Don't worry about the other kids, figure it out at your own pace. When I was in college, there were always classmates who caught on faster & coded faster than me. But I also did find other guys who coded at the same pace as me, and we'd always team up on projects because coding at the same pace we both would learn more from the experience. :-)
So I say - forget those faster kids. If you enjoy it, keep at it!! Take AP Calculus and AP Physics too if you can. You just need a 4 or 5 on those tests and you can get credit for the college classes. These are all required classes for Computer Science degrees. And again don't worry if you don't take the AP courses if you don't have time. You can take them your first year in college as well.
Also, if you're still debating whether you should major in it or not, I'd say - think about why you like your Comp Sci class? For me, I like the math aspect of coding, figuring out the algorithms and feeling the high when the code actually compiles successfully. I also like music & games. When I was 5 years old, what drew me to the computer first was wanting to code MIDI songs / music in BASIC (this was back in the 80's). Then when I was in college, I felt so awesome that I could code Tetris from scratch in C/C++ and build an actual working game. Computer animation class was another step up where we created moving 3D objects leveraging coding & physics concepts (particles of mass and shadows & reflections of light) and my class partner & I recreated the aliens in Toy Story from scratch to make our own mini story. Totally fun!!!! :-)