Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6b218bd712b980032d844864a9908938a24feae0db8e44b86237452a03201f0f
Ticket: 167e0635db79f05d23d766376f6eed32b1572451
`make valgrind` detections
User & Date: jan.nijtmans on 2024-04-05 20:57:11
Changes

  1. icomment:
    @sebres, did you time the benefit of your optimization? I don't think it really makes a noticeable difference. The first time Tcl_GetIndexFormObj() is called, it will be converted to 'index' type, yes that takes somewhat more time. But second time and later it's already of 'index' type and that's fast.
    
    So, typical code doing a "clock seconds -now" repeatedly should be very fast anyway.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"