Search
Wednesday, 18th of September 2019, 6:59:04 UTC
15:08:14
asdf_asdf_asdf
@stassats hi. https://cpy.pt/LPz5fRWz It's your and my code.
17:30:45
stassats
hmm, reinitialize-instance on classes doesn't call reinitialize-instance on subclasses, and my update-dependent isn't invoked
18:53:52
sjl_
(with-open-file (f "foo" :element-type 'base-char) (read-line f)) currently returns a simple-string. Is there any way to get it to return simple-base-string's instead?
18:54:09
sjl_
(CCL returns a simple-base-string for this)
18:54:43
sjl_
my use case is reading data from large (10-100gb) FASTQ files (data from DNA sequencers)
18:54:59
sjl_
[ClozureCL] COMMON-LISP-USER> (type-of (with-open-file (f "~/.stumpwmrc" :element-type 'base-char) (read-line f)))
18:55:24
stassats
and what does that tell you? that ccl has only one string type
18:56:39
sjl_
Ah, so every string in CCL is a base-string then.
18:57:13
stassats
if you're relying on character streams to read 100gb fast, you're already losing, and then adding read-line
18:57:44
sjl_
What's the ideal way, then? read-sequence into a buffer and parse it myself?
18:58:33
stassats
you're not going to just leave the data as lines? so anything read with read-line will be garbage
Wednesday, 18th of September 2019, 18:59:04 UTC