idontgetoutmuch / random

Random number library
Other
3 stars 2 forks source link

Benchmark CBool #172

Open curiousleo opened 4 years ago

curiousleo commented 4 years ago

CBool is not being benchmarked right now in bench/Main.hs.

Just like the CBool tests, those benchmarks probably need to be guarded by

#if __GLASGOW_HASKELL >= 802
...
#endif
lehins commented 4 years ago

@curiousleo I don't think adding more CPP is a good idea here. Benchmarking and testing another newtype wrapper around Word8 will not buy us that much for it too be worth it.

Both of its implementation and definition is identical to CUChar, so if anyone would like to see the numbers they can look at that type instead.