Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
firstline1
linenumberstrue
int8_t create_flow_file(FlowFile** flow_file, char *content_location, size_t size)
int8_t transmit_flow_file(FlowFile *flow_file, char *nifi_host);
int8_t free_flow_file(FlowFile *flow_file);

 

Cons

  • The major negative to this has been one we've already experienced: increased cost in vtables lookup and class loader lookup 1. While we can't combat the former, we have done some work with template meta programming to fight the latter. More can be done; however, the cost will always exist, but is traditionally very minimal and paid at startup. 
  • Design complexity may make development more difficult.
  • Debugging may become more difficult due to the depth of call graphs. 

 

 

1 https://stackoverflow.com/questions/18404988/performance-hit-of-vtable-lookup-in-c