Overview
| Comment: | fix for [1f40aa83c552f597]: the overflow check could mistakenly pass in some cases (so basically expects div 10 to check it properly); optimizes both str2int, since we don't need to check it for most cases at all, thus definitely faster now (O(n)+O(1) vs. O(n)+O(n) and also has fewer branch mispredictions). |
|---|---|
| Timelines: | family | ancestors | descendants | both | tip-688 |
| Files: | files | file ages | folders |
| SHA3-256: |
4fa26c98f225a44fb05bc0ba7c56c95b |
| User & Date: | sebres on 2024-03-22 19:15:30.347 |
| Original Comment: | fix for [1f40aa83c552f597]: the overflow check could mistakenly pass in some cases (so basically expects div 10 to check it properly); optimizes both str2int, since we don't need to check it for most cases at all, thus definitely faster now (O(n)+O(1) vs. O(n)+O(n) and has fewer branch mispredictons). |
| Other Links: | branch diff | manifest | tags |
References
|
2024-03-24
| ||
| 15:25 | • Ticket [1f40aa83c5] crash with CFLAGS=-ftrapv status still Pending with 3 ot... artifact: 0272e747eb user: sebres | |
|
2024-03-23
| ||
| 09:59 | • Ticket [1f40aa83c5]: 5 changes artifact: b5bf4fa0f7 user: jan.nijtmans | |
|
2024-03-22
| ||
| 19:31 | • Closed ticket [1f40aa83c5]. artifact: ab2e2016c0 user: sebres | |
Context
|
2024-03-22
| ||
| 20:07 | small amend (unsaved change) check-in: 8b7da667e5 user: sebres tags: tip-688 | |
| 19:15 | fix for [1f40aa83c552f597]: the overflow check could mistakenly pass in some cases (so basically exp... check-in: 4fa26c98f2 user: sebres tags: tip-688 | |
| 14:19 | There are no testcases showing overflow in _str2int() check-in: 960b6b1923 user: jan.nijtmans tags: tip-688 | |
Changes
Modified generic/tclClockFmt.c
from [839ab5b111]
to [4e6cdd8fe0].
[diff]
Modified tests/clock.test
from [3652a02935]
to [36eb84af68].
[diff]