Skip to content

Multi-line expressions #16

Open
Open

Description

@akdor1154

A lot of my slow computes are from pretty big expressions. Some can be split over multiple lines (e.g. for a sql script I can define the sql string earlier and cache just the execution) but others can't easily (say a big nasty nested comprehension).
It would be useful to have a multiline magic or something as well to be able to cache these.

Great lib btw!

Activity

  1. diallobakary4 commented on Mar 20, 2019

    @diallobakary4

    I am facing a similar problem with multiple loops.
    A cache cell magic will really be useful in that case.

  2. riedel commented on Oct 8, 2022

    @riedel
    Member

    Can someone describe how to effectively use a cell cache? I guess mostly be weird to cache the output cache like caching _ . So I guess the idea would be to no execute the cell and put a cache on the last line and re-execute any assignment on that happens to be on the last line of the cell?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions