On Mon, Dec 17, 2012 at 1:50 AM, Philo <[email protected]> wrote:

> Yeah... indeed, it was the cache that made it fast on re-launch! I have
> two machines that should be roughly equivalent in power, one of them loads
> full LDraw library (official + unofficial) in about 10 seconds. A bit
> painful, but acceptable. The other takes almost one minute, imho unusable
> expecially since there is no splash screen telling that LeoCAD has been
> started.
>
> Of course it's MUCH faster with a zipped library. Not perfect since other
> LDraw tool doesn't use that (so it means two copies of libraries, with
> discrepancies lurking...) but its a HUGE improvement compared to the old
> piece import feature.


  Do you know if the other LDraw programs still use parts.lst? How do they
get the descriptions of the library files?

  Zip files are good because you can read them faster than loose files from
the HD but when you first load a zipped library file I cache all parts so
the next time you're just reading the cache instead of parsing the library.
I don't do that for the LDraw folder but I should probably do something
like that.

  Now I believe it was a bad idea to have a custom library format, I was
trying to give users an easy install package and fast rendering but I made
it extremely difficult for advanced users. BTW, the current library file is
just the latest complete.zip renamed and when the program reads a piece for
the first time it converts and saves it.

Done: 
http://forums.ldraw.org/read.**php?11,7288,7288#msg-7288<http://forums.ldraw.org/read.php?11,7288,7288#msg-7288>
>
> and 
> http://www.eurobricks.com/**forum/index.php?showtopic=**77073<http://www.eurobricks.com/forum/index.php?showtopic=77073>


  Thanks!
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to