2 ms·
Common Lisp - well, depends on how you implement your maps. alists and plists - just consing them together will do, though they're wasteful in terms of space a
by TeMPOraL 10y ago
Common Lisp - well, depends on how you implement your maps.
alists and plists - just consing them together will do, though they're wasteful in terms of space as all the keys and values of both maps are preserved (or you can treat it as a feature - merging preserves history); anyway, it's easy to trim them with remove-dupliates.
hash tables - nothing in the standard, though trivial to add.