Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip extract_hyperlinks if not required #488

Conversation

chopraanmol1
Copy link
Member

Revisiting #436

This Patch uses relationships data to determine if a sheet includes hyperlink or not.

As extract_hyperlinks loads the whole document in memory it is quite problematic for each_row_streaming. This patch tries to skip extract_hyperlinks when not required.

@coveralls
Copy link

coveralls commented Jan 22, 2019

Coverage Status

Coverage increased (+0.06%) to 94.403% when pulling 4b1e6f0 on chopraanmol1:skip_extract_hyperlinks_if_not_required into faf1b43 on roo-rb:master.

Revisiting roo-rb#436 .

This Patch uses relationships data to determine if a sheet includes hyperlinks or not.

As extract_hyperlinks loads the whole document in memory it is quite problematic for each_row_streaming. This patch tries to skip extract_hyperlinks when not required.
@chopraanmol1 chopraanmol1 force-pushed the skip_extract_hyperlinks_if_not_required branch from 6170cf9 to 4b1e6f0 Compare February 1, 2019 05:54
@chopraanmol1 chopraanmol1 merged commit b26d6c4 into roo-rb:master Feb 1, 2019
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Feb 6, 2019
##  [2.8.2] 2019-02-01
### Changed/Added
- Support range cell for Excelx's links [490](roo-rb/roo#490)
- Skip `extract_hyperlinks` if not required [488](roo-rb/roo#488)

### Fixed
- Fixed error for invalid link [492](roo-rb/roo#492)

##  [2.8.1] 2019-01-21
### Fixed
- Fixed error if excelx's cell have empty children [487](roo-rb/roo#487)
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