Skip to content
Snippets Groups Projects

Resolve "Improve performances of image generation"

Merged Raphael Sturgis requested to merge 24-improve-performances-of-image-generation into develop
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
 
from numba import jit
 
 
 
@jit(nopython=True)
def bresenham(x1, y1, x2, y2):
def bresenham(x1, y1, x2, y2):
dx = int(x2 - x1)
dx = int(x2 - x1)
dy = int(y2 - y1)
dy = int(y2 - y1)
Loading