-
We should use `Bytestring` instead of Buffer for handling the data we work with as it's more efficient and don't allocate more memory.
-
I'd like a version of `moduleLLVMAsembly` that outputs a `ByteString` rather than a `String` (which is a silly datatype...). Basically this:
``` Haskell
moduleLLVMAssembly' :: Module -> IO BS.ByteStr…
-
What would you say to a pull request changing
``` haskell
newtype Query = Query { queryPairs :: [(ByteString, ByteString)] }
```
to
``` haskell
newtype Query = Query { queryParams :: [QueryParam] }…
-
Currently,
```haskell
newtype BuiltinByteString = BuiltinByteString ByteString
```
The problem is that any user-written function that is strict in a `BuiltinByteString` (because of a bang patt…
-
https://hackage.haskell.org/package/language-bash-0.9.0/docs/Language-Bash-Parse.html#v:parse is only String. That is really unfortunate. String is both a weird (not even UTF-8) format and is uneffici…
-
`libsignal` offers pretty nice primitives for handling generating keys along with associated data (such as signatures).
However, `KyberPreKeyRecord` unlike other state types does not expose a const…
-
`GetString()` is described as
https://github.com/neo-project/neo-vm/blob/f596fa8fa4fc3c394019e2d299d6a795befaeec7/src/Neo.VM/Types/StackItem.cs#L175
which I interpret to mean that for a Buffer/Byte…
ixje updated
10 months ago
-
Invoked using
```
nix run github:bgamari/popcount-benchmark# -- --csv out; cat out
```
after adding `-pgmc $CLANG` (with `clang-17` from nixpkgs) to the cabal file.
### On an older Devil's Cany…
-
i.e. `appendHex{Lower,Upper}ByteString :: ByteString -> Buffer %1 -> Buffer`.
This is useful for printing such data as hash digests. (I want it for pretty-printing raw bytes in a JSON.)
There is al…
-
Error happened while creating a room: TypeError: Cannot convert argument to a ByteString because the character at index 19 has a value of 8230 which is greater than 255
My code is this and I faci…