prepareLayer is slow when there are lots of properties
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 206
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
prepareLayer's self time is not great, and it's because of https://github.com/anandthakker/vt-pbf/blob/master/index.js#L63-L80. I guess it's time to look into the performance of objects-as-maps
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read index.js lines 63-80 and profile prepareLayer with layers containing many properties, focusing on the objects-as-maps work identified in the issue. Done means demonstrating improved prepareLayer self time for that workload while preserving serialization behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100