gomarc brings MARC21 library data processing to Go, outpacing Python's pymarc by up to 11x
A developer has released gomarc v0.1.0, a Go port of the popular Python library pymarc, designed to parse and process MARC21 bibliographic data used in library systems. Benchmarks run on two real catalogue exports totalling over 226,000 records show gomarc completing MARC-8 Unicode parsing up to 11 times faster than its Python counterpart. The library supports reading and writing binary MARC21, MARCXML, and MARC-in-JSON formats, and offers an API familiar to existing pymarc users. Benchmark results were validated for correctness by confirming byte-identical output between both libraries before any performance figures were recorded. The project is at an early v0.1.0 stage, with raw byte decoding and MARC-in-JSON write performance noted as areas still to be optimised.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in