In nearly all contexts it will be better to have a dark period. 6 is safe... 4 may be enough too? There are benefits to a dark period. I don't think it's hammed out what is actually optimal beyond anecdotal experiences involving small sample sizes. If you find research on other soft-tissue plants, it's probably similar... like for tomatoes.
The only reason i wouldn't use an 18/6 cycle is if i were using total shit lights... if squeezing out a minmum DLI for good growth requires 20-24 hours, i'd do that and forego the dark period. With any decent equipment use an 18/6 cycle or even less if the plant was stressed. My lights are powerful and i can easily go over "max" DLI in a given day, if not careful.
DLI is a fancy metric to compare apples to apples under varying circumstances of lights, area of coverage and length of operation per day. It allows you to see that whether over 20 hour or 18, if you give the same DLI, you results are insiginificantly different within normal/expected deviation, all other factors remaining the same. You don't need to know the math to apply the concepts. Just know it's all directly proportional how much light you provide and hours of use and that their is a ceiling to what a plant can receive per day... This "max" varies based on environmental factors and genetics, so there is alwyas a little fine-tuning based on observing plant, but if you know the concepts and have an accurately specified light, you can more quickly find that happy zone each grow.