To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 8703
8702  |  8704
Subject: 
Re: *** LDView Version 1.9.7 Released ***
Newsgroups: 
lugnet.cad
Date: 
Mon, 16 Sep 2002 21:07:22 GMT
Viewed: 
806 times
  
"Travis Cobbs" <tcobbs@REMOVE.halibut.com> skrev i meddelandet
news:H2JHFL.J55@lugnet.com...
In lugnet.cad, Anders Isaksson writes:
Suggestions:

Do a one-time scan of the LDRAW directory, [...]

That's a good idea, but since LDView caches files after reading them, it
will only ever check for any particular file once.  So I don't think this
will help.

So use the possibilities of the unix file system to your advantage - the
first time you find a file the hard way, create a _link_ to it, with your
normalized file name!

Your file reading will get faster and faster, and adapt itself to new parts
added to the directory when they're used the first time.

To keep directory size down, you might consider keeping the links in a
separate directory (haven't used unix for ~12 years, but seem to remember
directory searches getting slow when too large...)

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery/index.htm



Message has 1 Reply:
  Handling of file name case in LDView (Was: *** LDView Version 1.9.7 Released ***)
 
(...) Then that link should be from a directory under the user's home directory. On my systems it is "root" who owns the LDraw parts library files, and the other users can only read them. (...) That depends on the file system, but it is generally a (...) (22 years ago, 17-Sep-02, to lugnet.cad)

Message is in Reply To:
  Re: *** LDView Version 1.9.7 Released ***
 
(...) That's a good idea, but since LDView caches files after reading them, it will only ever check for any particular file once. So I don't think this will help. It might help, though, since I would essentiall scan the entire LDraw parts directory (...) (22 years ago, 16-Sep-02, to lugnet.cad)

20 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR