modesty / modesty/pdf2json

Best practices for pdf conversion

Open
#187 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.2k
Forks
394
Avg merge
3d 5h
Merged PRs (30d)
7

Description

I have a performance question.

if i have a array of buffers and want to use .parseBuffer() inside a for loop, is it ok to instantiate pdfParser = new PDFParser(); on every iteration?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the project’s PDFParser and parseBuffer usage, focusing on repeated parsing of an array of buffers. Determine whether constructing a new PDFParser for each iteration is supported or whether instances can be reused, then document the recommended practice and its performance implications.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.