Best practices for pdf conversion

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

Nobody has claimed this yet.

Assessment

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

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.

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?

Dominant language
Java
Stars
2.2k
Forks
396
Avg merge
9d 19h
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from modesty/pdf2json

All issues in modesty/pdf2json

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.