You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently CDF readers use Jackson to map CVR files into memory all at once. This will not fly for any decent-sized election as @freedomcounts has already discovered we cannot tabulate a single 80k record CDF contest.
So we need some streaming solution. This is complicated by the fact that "static" top-level election definition objects must be parsed before cvrs are prased. Note that static objects probably can be read directly into memory if that's any help - they will be of a reasonable size, even for a big election. The cvr objects however will need to be streamed.
The text was updated successfully, but these errors were encountered:
For JSON, it should be fairly easy to construct a CDF CVR where the static information appears before the CVRs, since JSON keys are always unordered. XML is ordered, and unfortunately not ideally. There is an issue (usnistgov/CastVoteRecords#27) to address this in a subsequent release.
Currently CDF readers use Jackson to map CVR files into memory all at once. This will not fly for any decent-sized election as @freedomcounts has already discovered we cannot tabulate a single 80k record CDF contest.
So we need some streaming solution. This is complicated by the fact that "static" top-level election definition objects must be parsed before cvrs are prased. Note that static objects probably can be read directly into memory if that's any help - they will be of a reasonable size, even for a big election. The cvr objects however will need to be streamed.
The text was updated successfully, but these errors were encountered: