Project

General

Profile

Feature #1697

eliminate duplication of frame definitions

Added by Eric Faulhaber over 11 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
120.00 h
billable:
No
vendor_id:
GCD

History

#1 Updated by Eric Faulhaber over 11 years ago

Detect frames that are functionally identical and reuse the same definition in all business logic rather than creating a new one for each use.

Often the same frame definition is used across procedures. Today, we extract each such definition and create a separate class for each. We need to analyze the definitions and detect duplication. The simplest implementation will look for exact duplicates; a more nuanced implementation would be able to detect and abstract commonalities, even if the frames were not entirely identical. The latter is what we ultimately would like to achieve, but even implementing the former will eliminate a lot of unnecessary converted code.

We do this today for temp-table definitions (the simpler implementation, that is). Perhaps a similar approach can work for frames.

#2 Updated by Greg Shah over 11 years ago

  • Target version set to Code Improvements

#3 Updated by Greg Shah over 7 years ago

  • Target version changed from Code Improvements to Converted Code Improvements - Deduplication

Also available in: Atom PDF