Y
Hacker News
new
|
ask
|
show
|
jobs
by
dsheets
981 days ago
I recommend creating a pyclass over a struct that stores the converted data. Instantiate it once and then repeatedly call a function on it in a pymethods impl with the parameters that differ.