Skip to main content

Hi everyone,

 

If I want to change a numeric value of an attribute, I tend to use the ExpressionEvaluator. I kind of see it as the 'transformer equivalent' of the Arithmetic Editor.

Is there a 'transformer equivalent' of the Text Editor as well? I guess there is the StringReplacer, StringConcatenator, AttributeManager, etc., but which one would be the best/most efficient to use?

 

And speaking of efficiency, I have another question regarding transformers.

A colleague of mine told me a while ago that, for debugging's sake, it is wiser to use e.g. an AttributeCreator, AttributeRenamer and AttributeKeeper in series instead of using a single AttributeManager to perform all those tasks in one go. I tend to agree with them on that, but does this also have any consequences for performance? I can imagine the difference being minimal, but best practices and all that.

 

Thanks in advance!

Hi @joepk​ ,

I think StringConcatenator (Advanced mode) is almost equivalent to the Text Editor.


With regards to your 2nd question: while I do agree with the overall idea of keeping your workspaces small, there are times where a single AttributeManager can do a lot of stuff. In those cases I prefer to split it out a bit and use multiple transformers. There may be a slight performance hit with that but I think in the long run the overall maintainability of the workspace is more important than that.


Reply