http://d.puremagic.com/issues/show_bug.cgi?id=9466
Walter Bright <bugzi...@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzi...@digitalmars.com --- Comment #7 from Walter Bright <bugzi...@digitalmars.com> 2013-05-21 22:53:23 PDT --- (In reply to comment #2) > covb is allocated via: > > covb = (unsigned *)calloc((numlines + 32) / 32, sizeof(*covb)); > > I would sure like to understand the meaning of this magical expression. Why is > it dividing by 32? Another case of premature optimization? covb is a bit vector, it must have numlines bits in it. Since unsigned's are 32 bits wide, it rounds it up to the number of 32 bit unsigned's to allocate. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------