urbit-atom: More TODO

This commit is contained in:
Benjamin Summers 2020-03-14 10:28:46 -07:00
parent 8b2d0928e6
commit cbc44643c7
2 changed files with 14 additions and 21 deletions

View File

@ -1,10 +1,3 @@
- Use atomBytes instead of exportBytes where faster.
- `exportBytes` is slower, use `atomBytes` where possible.
- Only works for little-endian.
- Doesn't work in GHCJS.
- Use bytesAtom instead of importBytes where faster.
- `importBytes` is always faster. Always use it.
- (Why slower, tho?)
- Get this working with `integer-simple` (for Android).
- Support big-endian CPUs (CPP flag; use GMP import/export)
- Support `integer-simple`. (Android)
- Understand why my hand rolled import is slower than GMP import.

View File

@ -30,17 +30,6 @@ executables:
- base
- urbit-atom
benchmarks:
urbit-atom-bench:
source-dirs: bench
main: Main.hs
ghc-options: "-threaded -rtsopts -with-rtsopts=-N"
dependencies:
- base
- bytestring
- criterion
- urbit-atom
tests:
urbit-atom-tests:
source-dirs: test
@ -54,6 +43,17 @@ tests:
- urbit-atom
- vector
benchmarks:
urbit-atom-bench:
source-dirs: bench
main: Main.hs
ghc-options: "-threaded -rtsopts -with-rtsopts=-N"
dependencies:
- base
- bytestring
- criterion
- urbit-atom
default-extensions:
- ApplicativeDo
- BangPatterns