Message330141
Good point! Thank you Mark for your comment.
In theory, fewer bytecodes is better (the first example doesn't create a new object, it operates with references to existing objects). But in practice the difference is very small and overwhelmed by random factors. We need hundreds or thousands of constants to get a stable result. This is far from a common use case. |
|
Date |
User |
Action |
Args |
2018-11-20 18:31:42 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, rhettinger, ncoghlan, pitrou, benjamin.peterson, methane, Mark.Shannon, yselivanov |
2018-11-20 18:31:42 | serhiy.storchaka | set | messageid: <1542738702.43.0.788709270274.issue33325@psf.upfronthosting.co.za> |
2018-11-20 18:31:42 | serhiy.storchaka | link | issue33325 messages |
2018-11-20 18:31:42 | serhiy.storchaka | create | |
|