komsit37 / sublime-q

Sublime Text Plugin for q/kdb
MIT License
24 stars 9 forks source link

Support send and async send to read-only kdb instances #24

Closed atf1206 closed 4 years ago

atf1206 commented 4 years ago

Sublime currently attempts to save the result of the last input to .st.tmp, as well as using other saved helpers such as memory status (.st.mem) and start time (.st.start). The latter two can be handled just as well on the client side (in python), and the former is now made optional, thus allowing connections to be made to kdb instances where write access (i.e. creating variables in-memory) is not available. This allows sublime-q to be used with kdb processes in multithreaded input mode (negative port servers). Sublime-q is also made more efficient by reducing the number of calls made to kdb each time.

komsit37 commented 4 years ago

That's great! Thanks for the fix :)