If you have the ability (and the time) I would very seriously look into taking the option of PRK.
I have a pretty similar story to yours. I have VERY shaky 20/40 vision that can go either way depending on my level of hydration, fatigue, and stress at the time of the exam. It was when I went to MEPS when I found out just how bad my vision had become over the last few years (I'm 25 - I knew my L eye was worse than my right, but I thought it was negligible) and I tested at 20/50. Out of limits. My depth perception had also gone down the drain due to the strain I had been putting on my right eye to compensate for my punk-a** left eye. At that point I had been PROREC'd Pilot and NFO. I had 2 options in front of me: 1). Pull my package and my PROREC, get PRK, recover, reapply and hopefully get re-accepted. 2). Go in as an NFO, get my commission, cross the vision/re-desig bridge when I got there.
Well, this was my 3rd time applying and I wasn't too sure about my odds, or, more importantly, the needs of the Navy at the time I reapplied. Maybe they wouldn't need so many Pilots or NFOs in a year, you never know. I had a shot at getting a commission, even as a FO, so I submitted my package sans Pilot option, went to OCS, and am now looking into crossing the bridge. Without a doubt I'll have to place top 10% in API and then make one helluva an argument to get the surgery approved.
For what it's worth, had I had the foresight (pun-intended) to have my eyes checked out well prior to that MEPS exam, I could have had the surgery, gotten a waiver and been a pilot designate.
Nevertheless, joining the Navy has been the best decision of my life. I thank my lucky stars every day that I'm here, and regardless of where I sit in the plane, I'm definitely in for the ride! This could be you too.