MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0005891 | VTK | (No Category) | public | 2007-10-17 11:11 | 2008-02-18 18:47 |
Reporter | Sean McBride | ||||
Assigned To | David Cole | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | |||||
Type | |||||
Summary | 0005891: vtkVectorText::RequestData() is slow, optimisation is obvious | ||||
Description | Profiling has revealed that vtkVectorText::RequestData() is a significant bottleneck in our application. Examination of the code reveals that this function performs work in a loop that could be moved out of the loop. The code in the loop is converting large string constants into ints and floats, but these strings are _constant_ and so the conversion need only be done once. In fact, the code could be rewritten to avoid the strings altogether and instead use constant arrays of floats and ints. This would have the benefit of avoiding locale problems also, and fix bug 1431 as a side effect. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://www.vtk.org/Bug/file/6290/5891patch.txt | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2007-10-17 11:11 | Sean McBride | New Issue | |||
2007-10-17 11:20 | Sean McBride | Description Updated | |||
2008-01-22 13:07 | Sean McBride | Note Added: 0010218 | |||
2008-01-22 13:11 | Sean McBride | File Added: 5891patch.txt | |||
2008-01-22 13:11 | Sean McBride | Status | backlog => tabled | ||
2008-01-22 13:11 | Sean McBride | Assigned To | => David Cole | ||
2008-01-22 13:13 | Sean McBride | Note Added: 0010219 | |||
2008-01-23 11:08 | Sean McBride | Status | tabled => @80@ | ||
2008-01-23 11:08 | Sean McBride | Resolution | open => fixed | ||
2008-01-23 11:08 | Sean McBride | Note Added: 0010232 | |||
2008-02-18 18:47 | David Cole | Status | @80@ => closed | ||
2008-02-18 18:47 | David Cole | Note Added: 0010558 | |||
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|