Just learned: ordering a pattern match in #Erlang so the most common case is first improves performance noticeably.
@heinz_gies yup, ran into a similar issue when using binaries as keys in mnesia. The hash function took all the time.
-
-
@francescoc yea it's tricky, slowly wearing it down cpu % by cpu % ;) -
@heinz_gies never give up. The rewards are there if you look. -
@francescoc thanks mate :) I don't plan to, nearly doubled the performance today already so quite happy so far!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.