Giter Club home page Giter Club logo

Comments (4)

salvois avatar salvois commented on June 14, 2024

Hello, sorry for the late reply: did not receive notification from github.

I have not looked into RTL reading order, but will try and let you know. Guess I can count on you for some testing? ;)

For the size issue, it may well be the case! LargeXlsx uses the SharpCompress library with its default settings to zip-compress the workbook data, whereas Office Open XML may use more aggressive compression options by default. 4x is a heck of a difference, tough! Will check this too. Of course, I assume the content is exactly the same in your test. Would it be possible to have a sample workbook?

Thanks,
Salvo

from largexlsx.

salvois avatar salvois commented on June 14, 2024

Hi @ncaridi , just published release 1.2.0 with support for right-to-left worksheets. Please let me know if it solves your problem.

For the file size problem, from my understanding the library used a stronger compression than Excel by default, and my same example content saved by Excel was a bit larger. I even lowered it a bit in this release to gain a bit of speed.
I guess what you may be observing is, if you have a lot of repeating text, the effect of the lack of the global string table, which is by design because it is not friendly with streamed write.
An example Excel file may help clarify whether this is the case. Please feel free to open a separate issue for this.

Thanks,
Salvo

from largexlsx.

ncaridi avatar ncaridi commented on June 14, 2024

Thank you for taking the time looking into this.
I've been very busy with other project and couldn't get back to this.
I do have a lot of repeating text, I guess that is the give and take between working with a full in memory DOM / vs streamed write ?

from largexlsx.

salvois avatar salvois commented on June 14, 2024

Yes, I considered that deduplicating strings (which are potentially unbounded) in memory may nullify the advantages of a constant, low-memory streamed write, thus all strings are streamed directly as cell contents in my implementation.
I recognize it may depend on your use case, though.
Please feel free to make your proposals if you come up with an idea!
Thanks,
Salvo

from largexlsx.

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.