<i>RFE - lazy loading of TclOO for faster interp creation</i> status still Open with 3 other changes
by
.
D 2025-09-01T08:45:17.352
J icomment Thanks!\s(My\stestbed's\susing\sa\slittle\sfaster\shardware,\swhen\sit\sdecides\sto\sturn\son\sthe\sspeed-stepping.)\r\n\r\nYou'll\slikely\sneed\sto\srethink\show\syou\slazily\sloading\sthe\sclasses,\sbut\sI'm\snot\ssure\show\syet.\sLikely\sby\spostponing\scalling\s`MakeAdditionalClasses`\s(in\stclOO.c).\sIt's\spossible\sthat\ssome\sbits\sof\s`TclOOInitInfo`\scould\sbe\simproved,\sbut\sthat's\strickier\sbecause\s`info\sobject`\shas\ssome\sfully\scompiled\ssubcommands.\sPostponing\sthe\screation\sof\sall\sthe\s`oo::define`\sstuff\s(including\sthe\s`oo::Slot`\sclass;\sdirectly\sin\s`InitFoundation`\sand\sin\s`TclOODefineSlots`)\swould\sbe\sthe\sother\splace\sa\swin\smight\sbe\spossible,\sthough\sI'm\snot\scurrently\ssure\show.\r\n\r\nThe\smain\sthing\sto\sbeware\sof\shere\sis\sthat\sthere\smay\sbe\scases\swhere\sa\sclass\s(or\sobject)\sis\sused\sin\suser\scode\sbefore\scalling\sit\sas\sa\scommand,\sand\sbefore\sany\scall\sto\s`package\srequire`.\sEducating\susers\sto\schange\sthat\sis\slikely\squite\sdifficult!
J login dkf
J mimetype text/x-markdown
K effa2e2346f8372ad4982d16bad189fab96ceb56
U dkf
Z 371aefcf98c14baca2f5bd6dd12f6bf6