Pull requests

#2 Merged
Repository
DerGuteMoritz DerGuteMoritz
Branch
protocolize
Repository
tebeka tebeka
Branch
default

Switch from multimethod to protocol

Author
  1. Moritz Heidkamp
Reviewers
Description

Since the multimethod dispatches on the given message's type anyway we may as well use a protocol here. This yields better performance in general and especially in multi-threaded scenarios since in Clojure < 1.4 multimethod dispatch is synchronized (see CLJ-988).

Comments (1)