TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
The Point of Pattern Matching in Scala (2009)
8 points
by
mortimerwax
over 9 years ago
1 comment
vbezhenar
over 9 years ago
Collapse
> with modern VM technology it's (pattern visitor) way more innefficient than pattern matching<p>Can someone explain that bit? Visitor pattern is 2 virtual calls. That should be very efficient. How pattern matching is more efficient?
评论 #10177205 未加载