Differential investment in growth and reproduction optimizes a life-history trade-off in a species characterized by alternative reproductive tactics | Synapse