AmendHub

Download (as of this amendment):

jcs

/

textview

/

amendments

/

79

textview.h: Use 512 for TV_LINE_GROUP_NLINES so CPU can shift

Avoids having to do multiplication and division of 500

jcs made amendment 79 about 1 month ago
--- textview.h Wed Oct 14 23:05:18 2026 +++ textview.h Wed Oct 14 23:20:34 2026 @@ -149,7 +149,7 @@ struct TVRec { TVSlabLocator last_chunk; Handle line_groups[32]; -#define TV_LINE_GROUP_NLINES 500 +#define TV_LINE_GROUP_NLINES 512 #define TV_LINE_GROUP_SIZE (sizeof(struct TVLine) * TV_LINE_GROUP_NLINES) unsigned long nlines;