Hi all,I'm working for the project "Code Reduction". I have submitted my second
patch(#442).
There's some duplicate code in src/libged/nmg_kill_v.c and
src/libged/nmg_move_v.c. Comparing the code in nmg_kill_v.c and nmg_move_v.c,
the most parts of loop body are same except two or three line.
So I add a function with function pointer parameter to encapsulate the same
parts, and the different part depends on the function pointer introduced. It
totally reduces about 200 lines of duplicate code and I test it successfully.
Here is the link:https://sourceforge.net/p/brlcad/patches/442/
Kindly review it. Any suggestion is welcomed.Thanks,Lily Pan
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel