LJ::load_userids_multiple — Loads a number of users at once, efficiently.
LJ::load_userids_multiple(dbarg, map, have, memcache_only);
dbarg. Deprecated; a master database handle ($dbh) or a master/slave set of database handles ($dbs).
map. Arrayref of pairs (userid, destination scalarref)
have. Arrayref of user objects caller already has
memcache_only. Flag to only retrieve data from memcache
loads a few users at once, their userids given in the keys of $map listref (not hashref: can't have dups). values of $map listref are scalar refs to put result in. $have is an optional listref of user object caller already has, but is too lazy to sort by themselves.