Skip to content

Remove dependency on math; speed up fill()

Compare
Choose a tag to compare
@dhalbert dhalbert released this 24 May 16:53
af25424
  1. The math library may not always be available, so uses of math.ceil() were replaced with equivalent calculations.
  2. fill() was sped up by about 25% by using range() instead of enumerate().