Skip to content

u/YellowOnion

In this archive from Sep 2009 to Oct 2023

1
posts
34
comments
0
media
115
score

Top posts

Top comments

--fast is for decompression speed (1.6GB/s to 2GB/s), it seems to be that -19 the default is far too high, it's almost the same as xz at that point (at least there's better decompression speed), use -8 for same compression speed as gzip, but in reality disk storage is cheap, and CPU is expensive, once you add encryption and a decent SSD, your bottleneck is the CPU, I'm running lz4 on my bcachefs file system on a HDD, and will probably vary rarely touch zstd because it'll fight with other CPU resources, for example, video games are CPU intensive and a huge amount of assets need to be loaded in a sort time, so even lz4 is too slow for modern PCIe 4 SSDs.

3 points

ghc provides base, which is like the standard library, and a few other required libraries, so ghc would need to be split off from the "core" libraries, it seems like it might be easier to statically link everything with the dependency hell that comes with Haskell.

Building pandoc on Windows, I wonder how big the binary is with everything statically linked.

Edit: Pandoc is only 55MB with everything statically linked.

3 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.