Skip to content

[Discussion] - faster validation #182

@overthemike

Description

@overthemike

I just discovered this lib - very cool - and I think I may have a way to make quick validation possibly even faster. I made a library a little while back for a different purpose that takes objects and hashes them based on structure and type (ignoring values). It might only work for certain common use-cases, but if performance is a big win, it might be something worth checking out. Here's a benchmark comparing it with JSON.stringify just for some context

Image

The library is here: https://github.com/synpatico/genome (moved from https://github.com/overthemike/structure-id).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions