Files
Colin Dellow 4824688c14 AttributeStore: skip locks when outputting (#599)
The locks in AttributeStore are necessary only during PBF reading,
to avoid concurrent mutations corrupting things.

Once we're writing the mbtiles, it's safe to read without acquiring
the lock. This eliminates ~9% of system time, and ~2-3% of wall clock
time.

The PR also adds a `finalize()` to AttributeStore, AttributeKeyStore and
AttributePairStore. Nothing actually uses this yet - I initially checked
the `finalized` variable and threw if an unsafe method was called, but that
gave up the speed benefits, so I removed it again.

Perhaps in the future, a debug build could leave such checks in to
detect programming errors.
2023-12-04 21:29:49 +00:00
..
2023-12-02 21:04:40 +00:00
2023-12-01 13:10:24 +00:00
2023-06-18 14:45:04 +01:00
2023-12-02 21:04:40 +00:00
2023-12-02 21:04:40 +00:00
2021-10-25 12:35:06 +01:00