Giter Site home page Giter Site logo

Range Assembly inefficient about formulas HOT 4 OPEN

owinebar avatar owinebar commented on July 30, 2024
Range Assembly inefficient

from formulas.

Comments (4)

vinci1it2000 avatar vinci1it2000 commented on July 30, 2024

Can you specify the version of the formula that you are using?

from formulas.

owinebar avatar owinebar commented on July 30, 2024

1.2.2, the latest at the time of raising the issue

from formulas.

vinci1it2000 avatar vinci1it2000 commented on July 30, 2024

Can you share/send the file? Just to understand where is the problem

from formulas.

cetedus avatar cetedus commented on July 30, 2024

Hi,

I have encountered the same issue .

All it takes is for an excel file to have formula with range encompassing entire column
e.g.
=SUM(B:B)

this will cause, as far as I can tell
in formulas/tokens/operand.py
these values to be used:

maxcol = 16384
maxrow = 1048576

(in this case maxrow) which will produce an unnecessarily large object in memory (for one column around 500MB , for 2 columns around 1GB etc. ..)

For now I am using a workaround by checking max cols/rows in all sheets of the file and overwriting maxcol/maxrows with those values, but maybe you have a better idea how to properly fix it in your library ?

from formulas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.