classification
Title: Use simpler and faster sched.Event definition
Type: Stage:
Components: Library (Lib) Versions: Python 3.7
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: Satoru Logic, rhettinger, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2016-10-01 13:26 by Satoru Logic, last changed 2016-10-24 13:58 by rhettinger. This issue is now closed.

Files
File name Uploaded Description Edit
simple_def.patch Satoru Logic, 2016-10-01 13:26 review
Messages (3)
msg277816 - (view) Author: Satoru Logic (Satoru Logic) * Date: 2016-10-01 13:26
By removing the rich comparison dunder methods, the sorting of events will use the faster default implementation.
msg277818 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-10-01 13:46
See issue5830.
msg279306 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2016-10-24 13:58
A Serhiy noted, this patch will break the class when two events are scheduled at the same time and priority.
History
Date User Action Args
2016-10-24 13:58:14rhettingersetstatus: open -> closed
resolution: rejected
messages: + msg279306
2016-10-01 13:46:55serhiy.storchakasetnosy: + rhettinger, serhiy.storchaka
messages: + msg277818
2016-10-01 13:26:42Satoru Logiccreate