The gearing of the transmission has nothing to do with the rear-end. However the rear-end does affect the entire system gearing. If you feel like your gearing is a little long, maybe a 4.3 rear ring/pinion gear set would help you out. Nissan Motorsports used to sell them. I believe CA18 cars used to have 4.3 gears as well. S15's Spec-R's have 3.7 gears.
Stock is 4.083 bigger number equals: shorter gears, less time in each gear, quicker accelration, and higer rpms at any given speed in a given gear. So instead of 3000rpm at 60 in 5th, it would be 3500rpm at 60 in 5th (numbers made up for the sake of example).
__________________
|