[PIPE2D-209] Replace C++ implementation of where by an efficient version Created: 23/Jun/17  Updated: 03/Nov/18  Resolved: 03/Nov/18

Status: Done
Project: DRP 2-D Pipeline
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Normal
Reporter: rhl Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates PIPE2D-183 Please either make C++ where function... Won't Fix

 Description   

drp_stella makes quite heavy use of where in C++. This is reasonable, but the current implementation is very poor; it uses a string comparison for every element.

This needs to be replaced, probably by an implementation that uses a functor (or lambda). The replacement needs to be confirmed to be efficient, which probably means checking the assembler.

At the same time, please add overloads to use native LSST image types as appropriate; we should not be calling getArray() anywhere in C++ or python code (outside unit tests).



 Comments   
Comment by price [ 03/Nov/18 ]

I don't see any where in the C++ any more.

Generated at Sat Feb 10 15:49:35 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.