moonfire-nvr/db
Scott Lamb 8dc5d64333 make with_recording_playback less monomorphized
This is a minor code size reduction - instead of being monomorphized
into four variants (according to "cargo llvm-lines"), it's now
monomorphized into two. The stripped release binary on macOS is about
8kB smaller (0.15%). Not a huge improvement but better than nothing.

Benchmarks seem unchanged (though they have a lot of variance).
2018-08-24 15:34:42 -07:00
..
testdata initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
upgrade small adjustments to auth schema 2018-04-27 06:24:02 -07:00
Cargo.toml tests and fixes for Writer and Syncer 2018-03-07 04:42:46 -08:00
check.rs new recording_integrity table 2018-03-09 13:37:30 -08:00
coding.rs initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
db.rs make with_recording_playback less monomorphized 2018-08-24 15:34:42 -07:00
dir.rs tests and fixes for Writer and Syncer 2018-03-07 04:42:46 -08:00
lib.rs tests and fixes for Writer and Syncer 2018-03-07 04:42:46 -08:00
raw.rs new recording_integrity table 2018-03-09 13:37:30 -08:00
recording.rs make with_recording_playback less monomorphized 2018-08-24 15:34:42 -07:00
schema.proto update design docs for new-schema branch changes 2018-03-24 20:51:30 -07:00
schema.rs initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
schema.sql small adjustments to auth schema 2018-04-27 06:24:02 -07:00
testutil.rs add a TimerGuard around db locks & ops 2018-03-23 13:31:23 -07:00
writer.rs deflake writer tests 2018-08-07 21:58:40 -05:00