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

Parallel image parsing for low latency use cases #470

Draft
wants to merge 4 commits into
base: release
Choose a base branch
from

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    aa90af1 View commit details
    Browse the repository at this point in the history
  2. changes ForEachInArray to ForEachObjInArray which checks for IsObject…

    … and passes index to callback, adds ParseStringArrayProperty and uses it for extension parsing
    bekorn committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    ffac0c4 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. removes ForEachObjInArray, adds ParseArrayProperty that transform a j…

    …son array into a vector<T>
    
    This makes ParseNumberArrayProperty, ParseIntegerArrayProperty, and ParseStringArrayProperty just special cases of the base function.
    ParseObjectArrayProperty is also a special case which replaces ForEachObjInArray.
    ParseArrayProperty also resizes the vector to the json array's size before iteration, preventing any extra allocations. As a side effect, this gives pointer stability during the parsing operation.
    bekorn committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    2063d31 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Configuration menu
    Copy the full SHA
    7ce8f0f View commit details
    Browse the repository at this point in the history