Home › Forums › kdb+ › Swap key-value in dictionary › Re: Swap key-value in dictionary
-
{key[x][i]!get[x]i:iasc key x:group(!). flip raze key[x],''get x}
indexing into the keys instead of doing a lookup a smidge faster
Please confirm you want to block this member.
You will no longer be able to:
Please allow a few minutes for this process to complete.