November 2011
3 posts
Coderspiel: Or else, it's exponentially complex →
coderspiel:
Unfiltered uses pattern matching to route incoming requests, so
we’re pretty sensitive to the performance of partial functions in
Scala. Lately I’ve been looking at the orElse method of
PartialFunction as part of a potential refactoring and saw
some surprising results. Say you have these two…