Permalink
Browse files

Add comment about fasl.

  • Loading branch information...
dchest committed Nov 24, 2010
1 parent 2c295f0 commit 0eab50b6719109f0fe78bc225c73d181da8f96a7
Showing with 4 additions and 0 deletions.
  1. +4 −0 bayes.rkt
View
@@ -200,6 +200,10 @@
"data/tokens.dat"
"data/readabilities.dat"))
; I tried fasl, but while it's faster to dump and load,
; for some reason it uses a lot more memory after loading,
; plus it's not so portable, so stick with serialize/deserialize
(define (dump-data)
(define (dump-var var file)
(write-to-file (serialize var) file #:exists 'replace))

0 comments on commit 0eab50b

Please sign in to comment.