@cheese_greater@lemmy.world to Asklemmy@lemmy.ml • 1 year agoHow far can Lemmy support nested comments? Let's find outmessage-square257fedilinkarrow-up1183arrow-down111file-text
arrow-up1172arrow-down1message-squareHow far can Lemmy support nested comments? Let's find out@cheese_greater@lemmy.world to Asklemmy@lemmy.ml • 1 year agomessage-square257fedilinkfile-text
minus-squareBlueÆtherlinkfedilink3•1 year agolooks like 128 deep from here, and that number feels very familiar some how. I just cant place where Ive seen it before…
minus-squareu/lukmly013 💾 (lemmy.sdf.org)link5•1 year agoHmm… I got 99. The red line is there 14 times with full color change + 1 extra line. Each time it’s 7 colors, so 99. I double-checked.
minus-squareBlueÆtherlinkfedilink11•1 year agoIf in doubt look at the code: const MAX_COMMENT_DEPTH_LIMIT: usize = 100; I Guess that is the answer
minus-squareu/lukmly013 💾 (lemmy.sdf.org)linkEnglish4•1 year agoNow, what would happen with other instances if you compiled it with higher number for your own 🤔
minus-square@Feathercrown@lemmy.worldlinkfedilinkEnglish1•1 year agoMaybe there are branches in the tree of comments?
minus-square@Feathercrown@lemmy.worldlinkfedilinkEnglish4•1 year ago128 = 2^7; powers of 2 show up a lot in computing. Looks like it’s 100 though per the below comment.
Yes but like quantified…
looks like 128 deep from here, and that number feels very familiar some how. I just cant place where Ive seen it before…
Hmm… I got 99. The red line is there 14 times with full color change + 1 extra line. Each time it’s 7 colors, so 99. I double-checked.
If in doubt look at the code:
const MAX_COMMENT_DEPTH_LIMIT: usize = 100;
I Guess that is the answer
Now, what would happen with other instances if you compiled it with higher number for your own 🤔
I think you are correct, I based it on:
Maybe there are branches in the tree of comments?
128 = 2^7; powers of 2 show up a lot in computing. Looks like it’s 100 though per the below comment.
deleted by creator