D 2023-09-07T12:21:58.162
J icomment Re\sExperiment:\sWhat\sif\swe\schanged\s"//zipfs:/"\sto\s"/zipfs:/"\r\nbranch\sbug-93eb73784a\r\n\r\nTested\son\swindows\s-\sit\ssolves\sthe\sproblem\sof\sslow\stclsh\sstartup\swhen\slib/tcl8.7\snot\spresent.\r\n\r\nI\salso\stested\safter\sdoing\smake\sinstall-libraries\s-\sand\sit\sdefaults\sto\susing\sthe\sdisk\sfiles\s-\swith\sno\szipfs\smount.\s\sI\sthink\sit\sshould\sprobably\sdefault\sto\suse\sthe\szipfs\sversion\swhen\savailable\sand\sonly\suse\sthe\sfiles\sif\spointed\sto\sby\senv(TCL_LIBRARY)\sor\sno\szip\sarchive\sexists\sbut\sthat's\sanother\sissue\sI\sguess.\r\n\r\nTesting\swith\sloading\stk\sas\sa\slibrary\sand\sby\srunning\swish\s-\sthis\salso\ssolves\sthe\sloading\sspeed\sproblem.\s\r\n\r\n\s\s\s\stcl_findLibrary\sis\sstill\scalling\smount\stwice\s-\s(which\sdoesn't\sseem\sto\shurt\sanything\sbut\sshows\szipfs\sexists\sis\sbroken)\r\n\s\s\s\szipfs\smount\s/zipfs:/lib/tk\sC:/tcl/bin/tk87.dll\r\n\r\nWhile\syou're\sat\sthe\sdocumentation\s-\sconsider\sthat\szipfs\smount\stakes\sit's\sarguments\sbackwards\scompared\sto\sunix\ssystems,\sandrowishes'\sfork\sof\szipfs\sand\smore\simportantly\s-\sTcl's\sown\svfs\spackage\r\n\r\nIt\smay\sbe\sworth\sconsidering\sreversing\sthe\sbehaviour\sof\sthe\szipfs\smount\scommand\sif\sit's\snot\stoo\slate.\r\n\r\nzipfs\sunmount\stakes\sthe\smountpoint\swhich,\salthough\sdifferent\sto\sandroidwish\swhich\sunmounts\sby\staking\sthe\sarchive\sas\san\sargument;\sis\sI\sthink\sbetter\s-\sas\sit\sallows\smounting/unmounting\sof\sthe\ssame\sfile\smounted\sat\sdifferent\spaths.\r\n\r\nSpeaking\sof\swhich...\sI\sreally\sthink\sconsideration\sshould\sbe\sgiven\sto\sallowing\szipfs\sto\sbe\sable\sto\smount\sfiles\sanywhere.\r\n\r\nI\sthink\sI\sunderstand\sthe\sneed\sfor\sa\sspecial\svolume\sfor\sbootstrapping\sissues\sand\swhen\sno\sFS\savailable\s-\sso\sit's\sok\sas\sa\sdefault\s-\sbut\sI\sdon't\ssee\swhy\szipfs\sshouldn't\sbe\sable\sto\smount\szipfiles\sanywhere\sas\swell\sonce\sa\sfilesystem\sis\sup\sand\srunning.\s\r\n\r\nOtherwise\s-\swe\scan\sresort\sto\susing\sthe\svfs::zip\stcl-based\ssystem\s-\sbut\sit\sseems\slike\san\sodd\srequirement\sif\szipfs\sis\sbuiltin\s-\sand\sis\sespecially\sweird\swhen\sthe\saforementioned\smount\sarguments\sare\sreversed.
J login juliannoble2
J mimetype text/plain
K 93eb73784ae4c3b2285133a98df8163144eba291
U juliannoble2
Z d6f9f36ca116cb45f9eb96435b7aef39