Skip to content

Conversation

srajan0149
Copy link

Added write_warc_records method in WARCWriter and _write_warc_records method in BaseWARCWriter to write multiple records with a single write call.

This reduces overheads with multiple write calls and makes the writing of multiple records faster.

Also I have not written any tests for the method but I have tested the method in my local system with Python 3.10.

…batch

This reduces additional overhead included in multiple write calls called for multiple records
…gether instead of compressing single record and concatening them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant