https://learninghub.kx.com/forums/topic/in-place-attribute-removal
Is there any way to do this? # looks to always be creating a copy of the original list for
g/u, whether it's applied on a list reference or value. I wrote a C function to set the list object's u member (x->u) to 0, and from within q called this function and followed it up with re-applying the attribute (
g#) and this combination seems to clear the attribute without making a copy and also removes the references to the previous attribute data, allowing it to be garbage collected by .Q.gc. Is there another way? Thanks in advance.