I'm curious if anyone would know of this to be a problem.
(defmacro slurp [file]
(clojure.core/slurp (io/file (io/resource file))))
(ns ezmonic.e-data
(:require [cljs.reader :as reader])
(:require-macros [ezmonic.util :refer [slurp]]))
(defonce data
(reader/read-string (slurp "number-to-word-tree.edn")))
I'm using that to read a Is it possible that your phone has to do a bunch of work to serialize/deserialize the app’s state to disk on sleep/wake?
My first guess is that something else is going on, but you could always test it out by making a test app that does nothing except that and seeing what happens.