Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-09-01
01:02 • Ticket [1019873fff] Increase binary scan sharing status still Open with 4 ... artifact: 1aa9ec650f user: msofer
2004-08-31
17:57 • New ticket [1019873fff]. artifact: 54d653c52f user: dkf

Increase [binary scan] sharing

Open1019873fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-08-31 17:57:27
Do some sharing of integer result objects between
multiple invokations of [binary scan] (minimally just
the zero value?) so code that scans in bits doesn't end
up allocating masses of identical objects.
msoferplain2004-09-01 01:02:40
Logged In: YES 
user_id=148712

If we are going to do this, maybe we should provide an
interp-wide cache of small integers (-128 to 255 maybe).

In a second step we can let the compiler and TEBC profit
from it too, and expand the use to other tcl commands.
Log in (anonymous is fine) to add a comment.