diff --git a/pkg/hs/urbit-atom/TODO.md b/pkg/hs/urbit-atom/TODO.md index 06e1da24f..a749d53cf 100644 --- a/pkg/hs/urbit-atom/TODO.md +++ b/pkg/hs/urbit-atom/TODO.md @@ -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. diff --git a/pkg/hs/urbit-atom/package.yaml b/pkg/hs/urbit-atom/package.yaml index 10dfba137..970f44580 100644 --- a/pkg/hs/urbit-atom/package.yaml +++ b/pkg/hs/urbit-atom/package.yaml @@ -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