Skip to content

perf(dbf): decode DBF columns in bulk to remove encoding overhead - #390

Merged
luabida merged 1 commit into
AlertaDengue:mainfrom
luabida:fix/dbf-encoding-perf
Nov 23, 2026
Merged

luabida merged 1 commit into
AlertaDengue:mainfrom
luabida:fix/dbf-encoding-perf

Conversation

@luabida

@luabida luabida commented Nov 23, 2026

Copy link
Copy Markdown
Member

Decode the whole fixed-width column buffer once and split it, instead of calling codecs.charmap_decode per cell. This removes the cp1252/cp850 read regression introduced by per-value lossless decoding while preserving the exact decoding semantics and the per-value fallback for multi-byte encodings.

Decode the whole fixed-width column buffer once and split it, instead of
calling codecs.charmap_decode per cell. This removes the cp1252/cp850
read regression introduced by per-value lossless decoding while
preserving the exact decoding semantics and the per-value fallback for
multi-byte encodings.
@luabida
luabida force-pushed the fix/dbf-encoding-perf branch from 2bee054 to 01d8df9 Compare November 23, 2026 14:36
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@1486990). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #390   +/-   ##
=======================================
  Coverage        ?   97.37%           
=======================================
  Files           ?      185           
  Lines           ?    24452           
  Branches        ?        0           
=======================================
  Hits            ?    23810           
  Misses          ?      642           
  Partials        ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@luabida
luabida merged commit 17380ce into AlertaDengue:main Nov 23, 2026
18 checks passed
@luabida
luabida deleted the fix/dbf-encoding-perf branch November 23, 2026 14:42
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.12.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants