[
https://issues.apache.org/jira/browse/OFBIZ-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781285#action_12781285
]
David E. Jones commented on OFBIZ-3245:
---------------------------------------
In C++ or Java switch statements are pretty close to free... but I'm not sure
what you mean by "complicated conditionals"... and if you mean a long series of
switch statements then those are certainly more expensive, especially if each
if clause involved a significant compare or prepare/compare operation. Still,
it is nearly nothing compared to other things that impact performance more.
It's not like we're writing something to go through millions of data points
already loaded into memory...
No, I haven't tried to run it.
> Sandbox: Integrating The New Conversion Framework Into The Entity Engine
> ------------------------------------------------------------------------
>
> Key: OFBIZ-3245
> URL: https://issues.apache.org/jira/browse/OFBIZ-3245
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Adrian Crum
> Assignee: Adrian Crum
> Priority: Minor
> Attachments: conversion.patch, conversion.patch
>
>
> This issue contains a patch intended for evaluation before it is committed.
> See comments for details.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.