isl_seq_normalize: use pre-allocated temporary variable in isl_ctx
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 15 Aug 2009 14:46:16 +0000 (16:46 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 28 Aug 2009 17:42:20 +0000 (19:42 +0200)
commita3474ffbe9847cd6df8936df50f0d0f351d86afe
tree5c4598c106877c649736bcbb57076efa88fe0b18
parent2b4260083d7627ae08952de2eef2738463388ce4
isl_seq_normalize: use pre-allocated temporary variable in isl_ctx

This requires that we pass along an isl_ctx, but it removes
the need for allocating a temporary variable every time
isl_seq_normalize is called.
In some cases, up to 20% of the execution time of isl_seq_normalize
was wasted on initializing and clearing this temporary variable.
include/isl_ctx.h.in
include/isl_seq.h
isl_convex_hull.c
isl_ctx.c
isl_seq.c
isl_tab.c
isl_vec.c