I tend to write for browsers first and then polyfill node to match them. I find that direction works better and keeps my browser code clean and short where bandwidth really matters.
(this particular example is using mafintosh's blake2b wasm code :D)
larpanet joined the channel
dat-gitter4
(fwip) Quick question: When sharing datasets, it looks to me like dat first copies the dataset into a dat-managed zone, effectively storing the data on-disk twice. Is there a way to say "Please share this 250GB directory" without requiring an additional 250GB of storage on-hand?
pfrazee
jhand: ^
iml_ has quit
jhand
@fwip to share data, dat indexes the files - it doesn't copy them anywhere. So you should still be able to share that folder without much extra space (just enough for the metadata, which is small)
dat-gitter4
(fwip) Oh, that's sweet. Thanks for answering!
ogd
mafintosh: can i close a hyperdb? or do i just close the underlying hypercore. trying to write some tests