endolith / elsim

Election Simulator 3000: Simulates a variety of elections and voting methods
https://endolith.github.io/elsim
MIT License
7 stars 4 forks source link

Make sure I'm not killing performance in using smaller dtypes #15

Open endolith opened 1 year ago

endolith commented 1 year ago

Generally should use float64/int64 or float32/int32 (SIMD) for speed? Not uint8 or whatever. Deal with memory usage by chunking, not by using weird types.

Default on work computer is np.int32 and np.float64