Skip to content

Conversation

@jonathonmcmurray
Copy link
Member

Initial work by @jcliffDI on cache module

di/cache/cache.q Outdated
if[0>requiredsize:(maxsize*MB) - size+sum exec size from cache; evict[neg requiredsize;now]];
/ Insert to the cache table
.z.M.cache upsert (id;now;now;size);
`cache upsert (id;now;now;size);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this work as intended? i.e. it should not create/update a table cache in the root namespace, but within the module's private namespace

perf:([]time:`timestamp$();id:`long$();status:`symbol$());

id:0j;
getid:{:id+::1};
Copy link
Contributor

@eliotrobinson eliotrobinson Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this doing? its not used anywhere else in this script.. i guess this begs the question is the id incrementation working as expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants