Re: Bizzarre cond-> behavior

2017-07-21 Thread Milt Reder
2017 at 10:56, Peter Hull > > wrote: > >> On Friday, 21 July 2017 00:35:00 UTC+1, Milt Reder wrote: >>> >>> Here's a simplified example: >>> >>> I can confirm that pasting that defn into a CIDER repl does take a long >> time before t

Re: Bizzarre cond-> behavior

2017-07-20 Thread Milt Reder
(:d map-1))) map-2 (cond-> (:a map-2) (str (:a map-2)) (:b map-2) (str (:b map-2)) (:c map-2) (str (:c map-2)) (:d map-2) (str (:d map-2) On Thursday, July 20, 2017 at 6:36:42 PM UTC-4, Milt Reder wrote: > > Hey Clojurians, >

Bizzarre cond-> behavior

2017-07-20 Thread Milt Reder
Hey Clojurians, I'm experiencing some odd behavior with cond-> and was wondering if anyone had any ideas. I was troubleshooting a very slow load time in one of our projects, and traced it to a web templating library we maintain. One of the functions in this lib, `cell` takes a *very* long time (