TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Point of Pattern Matching in Scala (2009)

8 pointsby mortimerwaxover 9 years ago

1 comment

vbezhenarover 9 years ago
&gt; with modern VM technology it&#x27;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 未加载