22 Commits

Author SHA1 Message Date
Alexandr Stelnykovych 221c0c8730 Merge pull request #10 from oschwald/greg/optimizer-inserter
Optimize inserter function
2025-06-23 17:33:08 +03:00
Alexandr Stelnykovych c0d235f4a4 Merge pull request #9 from oschwald/greg/no-empty-values
Do not add empty values from CSV
2025-06-23 17:32:52 +03:00
Alexandr Stelnykovych c7a9b969a2 Merge pull request #8 from oschwald/greg/net-for-csv
Support "net" key for CSV
2025-06-23 17:32:38 +03:00
Gregory Oschwald 4a34584d3a Optimize inserter function
Previously, it was making unnecessary deep copies of the data,
increasing the number of allocations and memory usage. With this change,
`mmdbmeld` is about 20% faster and using 500 MB less memory with
[my test config](https://gist.github.com/oschwald/71006010e90feef4367a869c869e1cb8).
2025-04-28 10:06:52 -07:00
Gregory Oschwald c1c43d6459 Do not add empty values from CSV
This will make the databases more similar to MaxMind databases. It also
will prevent decoding errors for missing integers, booleans, etc.
2025-04-28 09:36:35 -07:00
Gregory Oschwald 11a8f43b9b Support "net" key for CSV
Previously, it was only implemented for IPFire. This allows MaxMind CSV
files to be used without converting them first.
2025-04-28 09:15:22 -07:00
Daniel Hovie 7f96bad425 Merge pull request #6 from safing/feature/array-type
Add simple support for array type
2024-02-23 11:01:10 +01:00
Daniel 2f7e437344 Output new merge config 2024-02-01 16:13:11 +01:00
Daniel cc755af2af Add simple support for array type 2024-02-01 16:08:22 +01:00
Daniel dc5c21bf2b Improve docs 2024-02-01 15:22:59 +01:00
Daniel f16ba11df6 Define yaml code blocks 2023-12-06 18:26:26 +01:00
Daniel fc02e0b588 Add support for defaults v0.3.0 2023-12-06 18:20:05 +01:00
Daniel fec80ffb87 Improve README 2023-12-06 08:56:40 +01:00
Daniel a4b4978e78 Improve README 2023-12-06 08:51:44 +01:00
Daniel 79b079889c Switch sources for correct license
Fixes #1
2023-12-06 08:34:08 +01:00
Daniel ee55b796ed Add mmdbquery util v0.2.0 2023-12-05 16:33:33 +01:00
Daniel 2d3faedaef Add support for conditional resets of data when merging 2023-12-05 16:33:18 +01:00
Daniel 593b420ed2 Fix README typo v0.1.1 2023-12-04 12:27:29 +01:00
Daniel 09811f9b58 Add mmdbcheck util 2023-12-01 14:20:24 +01:00
Daniel ec0f2235e0 Fix gitignore 2023-12-01 14:20:16 +01:00
Daniel a3ef6fb342 Rename project to mmdbmeld v0.1.0 2023-12-01 10:56:52 +01:00
Daniel 22bb8da243 Initial commit 2023-11-30 13:39:43 +01:00