I’m rendering text to the viewport via a conduit and I recently decided to remove the text if the value being represented is close to zero. My hacky fix was just to convert to an empty string if the value was close to 0… it was the least effort option. However, the draw performance is painfully slow. When I reverted this back to displaying the 0 value, the performance was back to normal.
I believe this is a bug so more for the rhino team.
yer I have since excluded all empty strings from rendering. I.e. filter out all doubles close to 0 before converting to text (and apply the same filtering over the points). This means I am no longer trying to draw these. I can confirm there are no null values, all strings are empty.
I just thought it odd behaviour (i.e. rendering “0” vs string.Empty greatly improved performance).