<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        
                                        
                                            
                                        
                                        
                                        Hmm... HierarchyBrowser has a <b>cache in #classList</b>. Browser has no such cache. Browser >> #hierarchicalClassList is slow.<div><br></div><div>Also, class compilation is so slow because of SmalltalkImage >> #logChange:.</div><div><br></div><div><div><span style="font-size: 13.3333px"><b>84.7%</b> {13730ms} <b>SmalltalkImage>>logChange:</b></span></div><div><span style="font-size: 13.3333px">      84.6% {13718ms} SmalltalkImage>>forceChangesToDisk</span></div><div><span style="font-size: 13.3333px">            79.6% {12899ms} MultiByteFileStream(StandardFileStream)>>close</span></div><div><span style="font-size: 13.3333px">             |79.6% {12899ms} MultiByteFileStream(StandardFileStream)>>unregister</span></div><div><span style="font-size: 13.3333px">           4.9% {798ms} SecurityManager class>>default</span></div></div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div>
                                        
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 22.08.2019 18:45:43 schrieb gettimothy via Squeak-dev <squeak-dev@lists.squeakfoundation.org>:</p><div style="font-family:Arial,Helvetica,sans-serif"><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10pt"><div><blockquote style="border: 1px solid rgb(204, 204, 204);padding: 7px;background-color: rgb(245, 245, 245);min-width: 500px"><div>"Try this one wierd trick"<br></div><div><br></div><div>Object subclass: #Foo<br></div><div>          instanceVariableNames: ''<br></div><div>          classVariableNames: 'PageId PageTitle Lua'<br></div><div>          poolDictionaries: ''<br></div><div>          category: 'Foo-Bar'.<br></div><div><br></div><div>"Open a browser and highlight the Foo-Bar category. Then.."<br></div><div><br></div><div><br></div><div>1 to:3000  do: [:each | | newclassname|<br></div><div>    newclassname := ('FooBar', each asString) asSymbol.<br></div><div>     Foo subclass: newclassname<br></div><div>          instanceVariableNames: ''<br></div><div>          classVariableNames: ''<br></div><div>          poolDictionaries: ''<br></div><div>          category: 'Foo-Bar']<br></div><div><br></div><div><br></div><div>"Your system should slow to a crawl.<br></div><div>Be patient and click off of the 'Foo-Bar' category and the system should free up.<br></div><div><br></div><div>Now open a HierarchyBrowser on Foo<br></div><div>Things will continue to work smoothly.<br></div><div><br></div><div>Conclusion? Something funky with Browser.<br></div><div>"<br></div><div><br></div><div><br></div><div>Foo allSubclasses do: [:each |<br></div><div>Smalltalk removeClassNamed: (each name)<br></div><div>]<br></div><div>Smalltalk removeClassNamed: #Foo<br></div><div>ClassOrganizer removeCategory:'Foo-Bar'<br></div></blockquote><br></div><div>Motivation.<br></div><div><br></div><div>I am on a "import that as a class" kick for SeasideDock and the WikitextParser I am working on.<br></div><div><br></div><div>I am comfortable working with these classes as I have learned to NEVER open certain categories and use the HierarchyBrowser when I need to scan the classes therein.<br></div><div><br></div><div><br></div><div>Thought somebody might be intrigued with the "Why" of this on purely technical grounds. I am not that guy (:<br></div><div><br></div><div><br></div><div>cheers.<br></div><div><br></div><div>t</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br></div></blockquote></div>