Skip to content

Macros with gensym make not reusing cached results after JVM restart #735

Closed
@pm4r

Description

@pm4r

I noticed that for some function calls results are not taken from cache after JVM restart. It is especially frustrating when it take a couple of minutes to execute something. Turned out that the reason were macros with auto-gensym (like abc#) because on each JVM start that would evaluate to different symbol, thus analyzer would find such form to be different than what it has already cached
.
The workaround was to change gensym with fixed symbols like ~'abc. I'm not sure if there is better solution for that. It would be good to clarify that in docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions