-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
From https://github.com/k0kubun/hamlit/issues/139, I noticed that it took 2 seconds to compile one of our Rails templates, with much of the time spent looking up Kernel.class in Temple::Filter#dispatcher:
temple/lib/temple/mixins/dispatcher.rb
Line 65 in 7987ab6
| return replace_dispatcher(exp) if self.class != #{self.class} |
I'm not quite sure what this code is doing. Is there a way we can optimize this out?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
