Skip to content

[request] Caching #206

@Billiam

Description

@Billiam

Currently, when iterating on code in the workbench or when changing parameters, the kernel needs to redo the same operations over and over, so that changing one parameter, or a line of code at the end of a project requires a full rebuild. This can be very slow for some projects with complex geometry and/or text.

I think it could be helpful to maintain some kind of state or operation cache, so that expensive operations, like complex booleans, would not need to be performed again unless their inputs changed.

Cascadestudio handles this use case with this CacheOp method, which serializes the incoming parameters, stripping the pointer IDs from open cascade objects, and just stores the results in a cache object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions