Skip to content

Static Cachebuilder#754

Open
bsofjan wants to merge 1 commit into
DataIntellectTech:masterfrom
bsofjan:staticcachebuilder
Open

Static Cachebuilder#754
bsofjan wants to merge 1 commit into
DataIntellectTech:masterfrom
bsofjan:staticcachebuilder

Conversation

@bsofjan

@bsofjan bsofjan commented Jul 20, 2026

Copy link
Copy Markdown

Build the static cachebuilder as part of Phase 2 of the Anycache Project Proposal.

Comment thread code/processes/setter.q

\d .

\d .anycache.setter

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Don't think you need to move to root namespace and back to .anycach.setter?

Comment thread code/processes/setter.q
\d .anycache.setter

// Save cache down to disk
savecachedowntodisk:{[data;filePath] (hsym filePath) set data };

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No camelCase for filePath

Comment thread code/processes/setter.q

\d .anycache.setter

getcachefromdisk:{ .proc.loadf }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

should .proc.loadf take an argument?

Comment thread code/processes/setter.q

getcachefromdisk:{ .proc.loadf }

detectAndWriteCache:{

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fix the camelCase here and in the function

Comment thread code/processes/setter.q
(` sv (dir;stage)) set .z.P
}

detectCacheToBuild:{

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

More camelCase

Comment thread code/processes/setter.q
}

generateAndWriteCache:{[cachePath; args]
cachename:last ` vs cachePath;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

indenting

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.

2 participants