Dekel Tsur <[EMAIL PROTECTED]> writes:

| On Mon, Mar 05, 2001 at 02:52:00PM +0100, Lars Gullik Bjønnes wrote:
| > time ./src/lyx -x lyx-quit ../../local/lyxdoc/UserGuide.lyx
| > About to handle -x 'lyx-quit'
| >  
| > real    0m8.515s
| > user    0m6.010s
| > sys     0m0.050s       
| 
| It still looks slow.
| 
| I still don't understand why we can't use my previous suggestion:
| 
| class FontTable  {
| public:
|     FontTable(size_type p, LyXFont const & f) {
|         font_ = container.get(f);
|         container.clean();
|     }
|     LyXFont const & font();
|     size_type pos();
| private:
|     boost::shared_ptr<LyXFont> font_;
|     size_type pos_;
|     static ShareContainer<LyXFont> container;
| };

Because I want to see if I can make the broader case faster first.
And your solution would benefit from this too.

        Lgb

Reply via email to