The speed of constructing a RooKeysPdf

I got a 50000 entries RooDataSet object to construct a RooKeysPdf object. It took 3 mins to finish it! Any expert knows how to improve this?

p.s. I don’t want to switch to RooHistPdf, since I am really trying to do the unbinned maximum likelihood fitting.

please post RooFit questions to the “Math and Stats” forum.

Rene

OK.

Thanks for the reminder, Rene.