Comments (3)
There's a cost in doing that though. If we add this as a feature, we need to make sure that it can be turned off as well.
from go-toolkit.
I have not measured the runtime costs empirically, but there sure is an impact when parsing (for example) an EPUB, and when every image resource is accessed to determine the width + height. In the Node / JavaScript implementation (TypeScript) this job is blocking (waiting on an async promise), and the job is delegated to an external library that knows how to parse image file headers. The filesystem I/O is minimal in terms of the number of bytes accessed, but opening/closing many file handles is not completely free :)
from go-toolkit.
Ah yes.. I remember that blocking job very well :)
Thanks, both of you, for the reminder about the cost of calculating this.
from go-toolkit.
Related Issues (20)
- Use absolute URIs in the streamer
- Output an OPDS 2.0 feed listing publications HOT 1
- Add support for subtitles HOT 1
- Use an array for roles in contributor HOT 1
- Incorrect TOC parsing, ignores empty hrefs with title, whitespaces in string titles
- webpub manifest JSON `spine` and `resource` lists of links should be mutually-exclusive / non-overlaping? HOT 1
- Demo link dead? (https://proto.myopds.com) HOT 1
- EPUB spread "portrait" is deprecated and not conform with JSON Schema
- Publications cannot be Unmarshalled
- Re-add comicrack metadata support in CBZ
- Creating a Docker container for `rwp` HOT 2
- Proposal to Add -v or --version Parameter to CLI Interface HOT 3
- (pub.Publication).Get when href contains anchors HOT 1
- [security good practice] GitHub Action workflow, secrets.GITHUB_TOKEN now restricted by default (was permissive) HOT 2
- Add ability to read raw compressed archive entries
- Remove leading slashes from relative HREFs
- Return pageNavigation instead of pageBreakNumbers when inferring metadata
- Add CBR support
- Add comic metadata support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-toolkit.