-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
C-JudgerRelate to judgerRelate to judgerK-FeatureFeature requestFeature requestP-LowLow priorityLow prioritygood first issueGood for newcomersGood for newcomers
Description
Currently, we wait application(user submitted program) to end before sending any byte to client(for convenience).
This issue contains two parts to fix:
- rework assert stage(module:
judger/src/language/stage
) to accept stream and possibly return WA early. - rework output monitor(
judger/src/sandbox/monitor/output.rs
)
we should usepipe(2)
instead of duplex, which we can ensure no intermediate copy and thus ensure output limit isn't enforced too early or late.
This won't affect application's usability. However, use of pipe(2)
should be tested to prove its effectiveness.
Metadata
Metadata
Assignees
Labels
C-JudgerRelate to judgerRelate to judgerK-FeatureFeature requestFeature requestP-LowLow priorityLow prioritygood first issueGood for newcomersGood for newcomers