I suggest to add the key word "const" to the type specifiers for parameters like the following. - list (function "listIndex") - s (function "string2ll") - p, s (function "ziplistCompare")

Would you like to apply the advices from an article to more places in your sources?

Comment From: yoav-steinberg

I think 10 years down the line we can close this. We're not going to fix all the code now and const maintenance in c is a headache and provides limited value anyway.

Comment From: madolson

I agree, we should make a note to try to use const as a forcing function (Like the config infrastructure). Going back through history will just mess with the git history. I'm just going to close this.