In all aircraft, swept wing or straight (excluding delta-winged aircraft), the best rate of climb is achieved when flaps/leading edge devices are fully retracted and the airplane is flown at the appropriate speed.
Suggest you fully read and understand the book....'Handling The Big Jets'...authored by Capt DP Davies.
He explains it all, very nicely.