Use scipy.sparse.coo_matrix instead of numpy.histogram2d to get a decent speedup
This commit is contained in:
parent
4dcdbf2f37
commit
12fdc5401e
2 changed files with 7 additions and 13 deletions
5
setup.py
5
setup.py
|
|
@ -3,13 +3,14 @@
|
|||
from setuptools import setup
|
||||
|
||||
setup(name='float_raster',
|
||||
version='0.1',
|
||||
version='0.2',
|
||||
description='High-precision anti-aliasing polygon rasterizer',
|
||||
author='Jan Petykiewicz',
|
||||
author_email='anewusername@gmail.com',
|
||||
url='https://mpxd.net/gogs/jan/float_raster',
|
||||
py_modules=['float_raster'],
|
||||
install_requires=[
|
||||
'numpy'
|
||||
'numpy',
|
||||
'scipy',
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue