Le 26 avr. 2010 à 15:10, Sean Cribbs a écrit :

> Yes, the primary weakness of records would be upgrading them.  You could do 
> it with a map-reduce job, but it would be better in general to use a more 
> fluid data structure.
> 
In the defense of records : 
Records can be pattern matched whereas dicts and proplists can't.
Using a record with dict attributes and single attributes for pattern matching 
("state" attribute, or "type" ...) could be interesting.

Eric

http://twitter.com/cstar


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to