Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #11248
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Find dead (unused) code in a VO app |
| Date | 2017-12-21 06:02 +0100 |
| Message-ID | <fa0tj9Fp99fU1@mid.individual.net> (permalink) |
| References | <p1eb1s$jed$1@news.albasani.net> |
Hi Jamal, > Is there a tool to find dead code or unused (orphan) code in a VO app > to remove the bloat and reduce app size? this is very difficult and dangerous, but AFAIK there was such a tool somewhere. > For example, when deleting entities like a data window, some code > like DEFINE statements are are left behind. Sometimes there are > functions that are never called in app. to clean up the define statements, after larger modifications of a window I delete all the generated code, open the binary entities and rebuild the code. I'm not using the DBServer editor or the SQL Editor so I don't have all the myriads of access/assign methods and the FieldSpec entities - I generate the fieldspecs on the flight from a dictionary of my database. IMHO these are the real bloat in many VO applications. And if you would like to save memory: build monolithic applications. Using for example bBrowser as lib instead of a DLL saves a few 100 KB in total executable size. VO is linking in all classes and methods from a libraries, not only these that are used. Wolfgang --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Find dead (unused) code in a VO app "Jamal" <noooospam@example.com> - 2017-12-20 13:44 -0500
Re: Find dead (unused) code in a VO app "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-12-21 06:02 +0100
Re: Find dead (unused) code in a VO app "Jamal" <noooospam@example.com> - 2017-12-21 16:24 -0500
Re: Find dead (unused) code in a VO app "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-12-22 07:32 +0100
csiph-web