cancel
Showing results for 
Search instead for 
Did you mean: 

Are strings interned in kdb too ?

newstudent2017
New Contributor II

I think the the answer is strings are not interned, only symbols are. But just double checking.

1 REPLY 1

rocuinneagain
Valued Contributor
Valued Contributor

Only symbols. You can view their memory usage in .Q.w[]

  • syms: number of interned symbols
  • symw: bytes used by interned symbols

https://code.kx.com/q/ref/dotq/#qw-memory-stats