[erlang-questions] Sending binaries between nodes.

Christian S chsu79@REDACTED
Mon Nov 26 13:53:04 CET 2007


A little braindump:

I overheard that, with the client-font-rendering as introduced in X11
with XRENDER, they solve the problem with duplicate bitmaps (since
apps typically use the same fonts) by hashing the bitmap to quickly
search for duplicate bitmap candidates among existing bitmaps and then
just increase the ref-count on the matching one.

Of course, this is only useful if binaries are sent back and forth
across nodes or in-and-out of ets. And if... well, the cost of
searching duplicates every time is economically lower than
duplications of binaries.


26 Nov 2007 13:35:47 +0100, Bjorn Gustavsson <bjorn@REDACTED>:
> It will copy the binary each time.



More information about the erlang-questions mailing list