Opened 14 years ago

Last modified 14 years ago

#213 new defect

Speed up baseline methods.

Reported by: Malte Marquarding Owned by: WataruKawasaki
Priority: high Milestone: Unified development
Component: c++ Version: 2.0
Severity: normal Keywords:
Cc: TakTsutsumi

Description

This is to track the correspondence and development. PLEASE add comments here.

Change History (2)

comment:1 by Malte Marquarding, 14 years ago

Hi Wata,

I read in your weekly report that you are working on this again. I thought we have two modes. The one which gives data back to python and the 'batch' mode. Why do you need to speed up the former? The reason it is slow is because it will make copies from c++ to python. Using addresses is really not recommended. If you really need to pass by reference you should use CountedPtr so they are managed.

It would be helpful if you regularly commit your changes (to a branch) so we can work on the ideas.

Cheers, Malte.

comment:2 by Malte Marquarding, 14 years ago

The other possibility is to print/log the info in c++ and not returning any info to python at all. In that case however, it will depend on a threaded logger to get log messages as they are generated.

Note: See TracTickets for help on using tickets.