This is in specific reference to the 'serialize-object' method in cl-protobuf.  One GF with a thousand or primary methods.   

On Mon, Nov 19, 2012 at 10:11 AM, Paul Khuong <> wrote:
On 2012-11-19, at 10:04 AM, Faré <> wrote:

> Dear SBCL hackers,
> is there a way, beside actually calling the function, to force SBCL to
> pre-compile the bits of code associated with method definitions?
> Currently, we have a significant pause during our first request while
> SBCL spends time in the compiler to do something compiling methods.

In the general case (with degenerate enough class structure and method specialisations), I don't think it's practical. For a lot of practical cases, however, I believe it's possible to design something that degrades as gracefully as the current scheme.

What's the shape of the inheritance graph like? How many methods are there per gf, and how are they specialised? Any fancy method combination (less important than it might seem, because the MOP is already twisted for arbitrary combinations)?

Paul Khuong

Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
Sbcl-devel mailing list