peach is great. Can I simply use it everywhere in place of each?

No. Multithreaded q code cannot have side effects, so the functions called by peach must be side-effect free. You will receive the error ‘mq if you try otherwise.

See also: kdb error code table


This work is licensed under a Creative Commons License.
The views and opinions expressed herein are those of the authors and do not necessarily reflect those of any other person or legal entity.
Kdb+ is the registered trademark of Kx Systems, Inc.