24 Jun
2013
24 Jun
'13
11:34 a.m.
On Jun 23, 2013, at 11:26 AM, Bjorn Reese
The documentation on atoms states that
"Atoms are mapped to integer values at compile time in libcppa. This mapping is guaranteed to be collision-free and invertible, but limits atom literals to ten characters and prohibits special characters."
Just wondering, is this some kind of base-64 encoding?
Actually, it is just a simple 6-bit encoding using a lookup table [1]. In this way, the mapping is guaranteed to be collision free and invertible. [1] https://github.com/Neverlord/libcppa/blob/master/cppa/detail/atom_val.hpp