You might be better off putting the config into a file, and then "read"-ing
it.  That way it never gets compiled into a class, and just stays as a data
structure.

On Mon, Mar 25, 2013 at 9:23 PM, larry google groups <
lawrencecloj...@gmail.com> wrote:

> Are vars subject to Java's 64k limit on methods? I started an app a few
> months ago and I was putting all the config into into a var:
>
> (def app-config
> {
>  :cites {
>            ;; more here
>            }
>
>  :slides {
>            ;; more here
>            }
>  :questions {
>            ;; more here
>            }
> }
>
>
> Then I guess I added too much and I started getting the error regarding
> the 64k limit. Is this expected?
>
> Why can I add more than 64k to a var, but I can not define it that way at
> compile time?
>
>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to