Opened 17 years ago

Closed 16 years ago

#148 closed enhancement (fixed)

use pointer dynamic_cast when failure is ecpected

Reported by: Peter Owned by: Peter
Priority: critical Milestone: yat 0.4
Component: classifier Version: trunk
Keywords: Cc:

Description

We are using dynamic_cast in quite a few places in classifier::. After our discussion earlier today, I suppose the conclusion is that we should use dynamic_cast<Class*> rather than dynamic_cast<Class&> because throwing the exception takes too much CPU.

This applies to the following classes: NCC, SVM, EnsembleBuilder?, and SubsetGenerator?.

Change History (3)

comment:1 Changed 16 years ago by Peter

Milestone: later0.4
Priority: majorcritical

comment:2 Changed 16 years ago by Peter

Owner: changed from Markus Ringnér to Peter
Status: newassigned

comment:3 Changed 16 years ago by Peter

Resolution: fixed
Status: assignedclosed

fixed in [857] and [858]

Note: See TracTickets for help on using tickets.